Repository navigation
Description
Open work found in plan-to-aws.md 3.4 · release post-appexchange · estimate 2.0 eng-weeks
Node refresh and spot interruption handling for prod.
How this was verified
plan-to-aws 3.4.
Coverage, sizing and status were verified against this repo on 2026-11-05, not taken from the doc's checkbox — several docs/ checkboxes are stale in the direction of understating what is built.
Product context (2026-11-26)
Why this matters for the API product: The spot half protects the run and recover steps. A job submitted through the API must finish even when AWS reclaims the node under it. This is also the assumption the cost model prices against. The refresh-dev half copies prod tenant data into a developer namespace. That is internal tooling, and its connection to the API product is indirect at best.
Current state:
- Spot handling is built but has never been exercised live.
rust/crates/er-server/src/executor.rs:889treatsnode_not_ready/DisruptionTargetas interruption.note_interruption.sqland the retry/escalation budget are inbatch-orchestration-design.md§5.6. The Phase 5 record (Phase 5 — measure the executor against the in-process monolith #650) still lists "spot-reclaim handling under Auto Mode" as unmeasured. - A spot-interruption alarm now exists (
infra/terraform/modules/operational-observability/main.tf:222-240, PR feat(obs): the three remaining standalone alarms — failure rate, spot interruptions, impersonation volume (#877) #1293). It counts interruptions, but it doesn't prove a task survives one. make refresh-devdoesn't exist. There's no Makefile target, and it appears only ininfra-platform/references/infrastructure.md:741andplan-to-aws.md3.4.- The body's "
--resume" wording predates Phase 4 — delete the legacy in-process dispatch arm #645. Recovery now happens through task retry,:clearand resume on/jobs/{id}. - The release label
post-appexchangeis stale.
Definition of done: Drain or terminate a runner node while a match task runs. The task archives its try as interrupted, retries on a new node and the job succeeds. Record the trace in batch-orchestration-design.md §11.
Dependencies / sequencing: #558's 10M run is the natural workload, since it's long enough to interrupt. Related: #530 (rollback and retry).
Open product decision: Is refresh-dev, which copies production customer records into dev namespaces, still wanted? If not, delete it from plan-to-aws.md 3.4.
Size: About 0.5 engineer-weeks for the spot proof alone. The filed 2.0 included refresh-dev.
Activity
[-]Refresh path + spot resilience[/-][+]Prove a runner task survives a spot reclaim mid-job (drop refresh-dev)[/+]fix(executor): the spot-reclaim and capacity-wait requeues bind their…
perf(reconcile): build the incremental overlap matrix in one pass ove…
docs(engine): a runner node drained mid-task recovers and the job com…