Skip to content

feat(kind): phase 7 settles a pod that reports nothing from its termination record (#814) - #1356

Merged
athvin merged 1 commit into
mainfrom
feat/814-probe-record-path
Nov 28, 2026
Merged

athvin merged 1 commit into
mainfrom
feat/814-probe-record-path

Conversation

@athvin

@athvin athvin commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Closes #814

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

check_kind.sh phase 7: with executor.probeFaults=drop_finish (a new task-template env, empty everywhere else) the pods post no finish, write their termination record and exit; the phase asserts every row settles succeeded with one launch, from the record alone, then restores the value. exec_task honours the fault only when that env names it.

#814: classify::terminal's ApplyRecord row was shadowed by every phase (a landed finish returns first), so breaking it moved no gate. This is the phase that reaches it.

Proof

Two kind runs dispatched, same probe:

  • This branch (46156407952): phase 7 ok: 2 row(s) settled succeeded from the termination record alone, ALL PHASES PASS.
  • A mutation branch with ApplyRecord → TimedOut in classify.rs (46156405654; branch deleted, never merged): phases 1–6 pass, then phase 7 … FAIL — job … settled failed, wanted succeeded. The DoD's condition — breaking the row turns the phase red — observed.
  • The deployed image is verified by imageID per kind probe deploys a stale image: mutable :kind tag + default IfNotPresent #815 (the kind log prints the content tag and the matching digest).

Risk & rollback

The fault is inert unless the chart value is set, which only phase 7 does on kind. git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:24d16c2e-fec6-49d8-9797-060338df4848 on brians-MacBook-Pro · 2026-11-28T23:23:35Z

  • 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: — 698dd08, rust 46196128536 + frontend 46196128603 success
  • images built, or correctly never ran because nothing that goes into
    an image changed: — success, run 46196128558 (executor and chart template changed)
  • deploy converged — proved by a line the running process emitted, not
    by the image digest and not by the workflow conclusion: — run 46196454671 success; executor.probeFaults defaults to empty, so a deployed pod runs the unchanged finish path
  • 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: — kind dispatched on main, run 46197710412 success (below); infra, devcontainer success
  • the board card reached Done through the automation rather than by
    hand, and the issue closed: — kind probe: cover the classifier's fallback rows (ApplyRecord, Canceling) with a phase that reaches them #814 CLOSED by feat(kind): phase 7 settles a pod that reports nothing from its termination record (#814) #1356 via automation
  • follow-ups are open for everything deferred here — numbers: — none
  • what was learned is written down where the next session will find it
    (a skill, a reference, memory) — or nothing new was learned: — the kind probe now has a phase that proves settlement from the termination record alone; ER_PROBE_FAULTS=drop_finish is the lever

Specific to this change

  • the next kind run on main passes phase 7 — dispatched on main rather than waiting for the nightly: run 46197710412 success, phase 7 ok: 2 row(s) settled succeeded from the termination record alone
Context — plan, discoveries, measurements, files

Plan

Discoveries

  • The jobs API takes no params, and a probe fault should not widen it; a task-template env set only for the phase (and a dispatcher restart either side, since templates load at startup) keeps the fault out of every request path.
  • The phase-5 golden stage-list failure the ticket mentions was already fixed on main (the kind run is green).

Measurements

Files

🤖 Generated with Claude Code

…nation record (#814)

classify::terminal's ApplyRecord row is a fallback every phase shadowed: a
pod's finish lands through the attempt channel first, so breaking the row
moved no gate. Phase 7 sets executor.probeFaults=drop_finish (a task-
template env exec-task honours, empty everywhere else), restarts the
dispatcher so its templates reload, runs lake_maintain, and asserts every
row settled succeeded with one launch — from the termination record alone
— then restores the value.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@athvin
athvin merged commit 698dd08 into main Nov 28, 2026
48 checks passed
@athvin
athvin temporarily deployed to marketing-preview November 28, 2026 22:20 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
marketing-preview — cb87de70 Deployed Nov 28, 2026 by athvin via remove closed PR previews #123
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.

kind probe: cover the classifier's fallback rows (ApplyRecord, Canceling) with a phase that reaches them

2 participants