Commit 403dc20
Add lease-handoff smoke + CI + docs; re-scope #147
Re-scopes #147 (operator-authorized): the reference impl hosts exactly
one experiment per task-store-server (single-experiment Store +
ExperimentIdMismatch guard; orchestrator multi-loop targets one
task-store URL; integrator is one shared bare repo deployment-wide), so
the planned two-experiment cross-experiment-isolation smoke is
unbuildable. True multi-experiment hosting + that smoke are deferred to
- compose.multi-experiment.yaml: a second orchestrator-2 replica in
lease mode (env-fallback flips both replicas when
EDEN_CONTROL_PLANE_URL is set).
- smoke-multi-experiment.sh + the compose-smoke-multi-experiment CI job
(unrequired initially): control-plane /healthz; one registered
experiment; two lease-contending replicas; lease-singleton invariant;
kill the holder + assert clean hand-off to the standby; surviving
replica drives the pipeline to >=2 variant.integrated; operator-driven
terminate; control-plane last_known_state converges to terminated.
Validated locally (PASS); smoke.sh regression PASS.
- Re-scope the plan doc (§0 governs); CHANGELOG [Unreleased] entry
(closes #147); AGENTS.md Commands row; README "Multi-experiment mode";
user-guide aside; same-PR audit of the retired compose.control-plane
overlay refs (issue-110/-182 forward refs updated; issue-157
historical analysis preserved).
Two pre-existing gaps surfaced by the deployed-substrate smoke and filed:
the lease-driven orchestrator doesn't self-join the task-store
orchestrators group (#254), and its auto-termination decision 403s under
wire auth because terminate_experiment is admins-gated (#256). The smoke
seeds the group + uses operator-driven termination as workarounds.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent aab72a3 commit 403dc20
10 files changed
Lines changed: 693 additions & 117 deletions
File tree
- .github/workflows
- docs
- plans
- reference/compose
- healthcheck
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
540 | 551 | | |
541 | 552 | | |
542 | 553 | | |
| |||
566 | 577 | | |
567 | 578 | | |
568 | 579 | | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
569 | 583 | | |
570 | 584 | | |
571 | 585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
11 | 25 | | |
12 | 26 | | |
13 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments