Repository navigation
docs(engine): a runner node drained mid-task recovers and the job completes; refresh-dev is decided against (#561) - #1433
Merged
Conversation
…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
temporarily deployed
to
marketing-preview
November 29, 2026 10:41 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #561
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-checkok. Live evidence, p3live job01a226bf-684d-7602-b419-b50434e88b31:ingestlauncher-t-0b3c9e…-l1ran oni-0c5bdeee(runner-sm, spot) and was drained at 02:01:02, with eviction confirmed.…-l2ran oni-0aada7d4from 10:01:41 to 10:03:47 UTC.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-060338df4848onbrians-MacBook-Pro· 2026-11-29T11:24:13Zmainis green with this change on it — the merge SHA, and the runthat 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
imagesbuilt, or correctly never ran because nothing that goes intoan image changed: — n/a — docs only
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: — run 46253933656 success; docs change nothing deployed
deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: — infra, devcontainer success on 99907d0
Donethrough the automation rather than byhand, 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
(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