Skip to content

docs(engine): a runner node drained mid-task recovers and the job completes; refresh-dev is decided against (#561) - #1433

Merged
athvin merged 1 commit into
mainfrom
docs/561-spot-reclaim-proof
Nov 29, 2026
Merged

athvin merged 1 commit into
mainfrom
docs/561-spot-reclaim-proof

Conversation

@athvin

@athvin athvin commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #561

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Records #561's spot-reclaim proof in batch-orchestration-design §11, and the decision against refresh-dev in infrastructure.md and plan-to-aws.md (3.4 ticked for the spot half).

Why

#561's done-when: drain or terminate a runner node while a task runs, the try archives and retries on a new node, and the job succeeds, recorded in §11. Done on er-dev. Its open product decision, refresh-dev, is answered: no production customer records in dev namespaces.

Proof

make skills-check ok. Live evidence, p3live job 01a226bf-684d-7602-b419-b50434e88b31:

  • ingest launch er-t-0b3c9e…-l1 ran on i-0c5bdeee (runner-sm, spot) and was drained at 02:01:02, with eviction confirmed.
  • …-l2 ran on i-0aada7d4 from 10:01:41 to 10:03:47 UTC.
  • standardize, match, reconcile (40 s), golden, assemble and finish all succeeded; job wall 504 s.

Earlier attempts found #1383, #1409 and #1424, now all merged.

Risk & rollback

Docs only. Rollback: git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:24d16c2e-fec6-49d8-9797-060338df4848 on brians-MacBook-Pro · 2026-11-29T11:24:13Z

  • main is green with this change on it — the merge SHA, and the run
    that proves it. A later head SHA with this commit as an ancestor counts;
    a cancelled run with zero jobs does not: — 99907d0, rust 46253581306 + frontend 46253581236 success
  • images built, or correctly never ran because nothing that goes into
    an image changed: — n/a — docs only
  • deploy converged — proved by a line the running process emitted, not
    by the image digest and not by the workflow conclusion: — run 46253933656 success; docs change nothing deployed
  • the push-only surface no pull request can pre-test (deploy, drift,
    kind's nightly leg) is green, or knowingly red for a reason that is not
    this change: — infra, devcontainer success on 99907d0
  • the board card reached Done through the automation rather than by
    hand, and the issue closed: — Prove a runner task survives a spot reclaim mid-job (drop refresh-dev) #561 CLOSED by docs(engine): a runner node drained mid-task recovers and the job completes; refresh-dev is decided against (#561) #1433 via automation
  • follow-ups are open for everything deferred here — numbers: — none; the real AWS two-minute reclaim path is noted as unsimulated in §11
  • what was learned is written down where the next session will find it
    (a skill, a reference, memory) — or nothing new was learned: — batch-orchestration-design §11 holds the reclaim record and the three bugs found on the way

Specific to this change

Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

Not simulated: a real AWS reclaim notice. A drain exercises the eviction path, which is the one the ticket names.

🤖 Generated with Claude Code

…pletes; refresh-dev is decided against (#561)

The spot-reclaim proof, recorded in batch-orchestration-design §11. On
er-dev, p3live ran an incremental run_all of 260k records over ~520k,
class M on spot. The ingest pod's node was drained 14 s in with a 10 s
grace. The try was requeued without spending a try, launch 2 ran on a
fresh spot node, and the job succeeded in 8m24s, with reconcile at 40 s.
The eviction path is proven; an AWS two-minute reclaim notice was not
simulated, and the doc says so.

Reaching a completing job found three bugs, each fixed first: the
requeue never bound its parameter (#1383, gated by #1384), reconcile
wrote one DuckLake transaction per event (#1409), and the incremental
overlap matrix was groups x entities (#1424).

Decision on #561's open question: refresh-dev, which copies production
customer records into developer namespaces, is not built. The
infrastructure and plan-to-aws references record that, and keep Path A
only as reasoning.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@athvin
athvin merged commit 99907d0 into main Nov 29, 2026
38 checks passed
@athvin
athvin temporarily deployed to marketing-preview November 29, 2026 10:41 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
marketing-preview — 8cfde654 Deployed Nov 29, 2026 by athvin via remove closed PR previews #161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prove a runner task survives a spot reclaim mid-job (drop refresh-dev)

2 participants