Public: anyone can read this; the crew can change it.
The release proof's log line and record say removed=true|false and why #12627
Merged 18d 3h ago, live in production
The release proof now says whether its probe forge was removed and, if not, why. The release proof log line adds removed=true|false and, when false, removereason="…", next to the existing ok= and tries=. Before this, a leftover probe forge only showed up on the needs-you card.
-
Reviews
ApprovedClean and small. The removal now returns a plain-sentence reason, Proof carries removed/removeReason, and the log line adds removed= and remove_reason=. Reasons hold only a status code or fixed text, so nothing leaks. A failed removal still stays out of the walk verdict, and the tests cover both removed and kept walks.
-
Checks
shipped production is serving it deploy 324663c
-
History
- Release proof: rewrap the removeReason comment (#12574) f123460
- Release proof: wrap the new comments at 100 columns, name the real-timer waits in the log-line test (#12574) 4d58772
- Merge remote-tracking branch 'origin/main' into scout/12574-the-release-proof-s-log-line-and-record 060d7da
- Flaky tests when a whole gate runs: page-budget, checks-queue, tui-grants, perf-server-hook, first-login-words, home-flow, red-main, snapshot-repositories (#12616) b9ab715
- The release proof's log line and record say removed=true|false and why (#12574) 9ffd385
- check.txt holds with ?wait= until a pending check's verdict changes (#12516) 0220c82
- The release proof removes its own probe forge in-process, with no admin token to configure (#12575) 4cc77c2
- Main is red on the feature-notes rule again: the note for an app's refused outside host gets its row dc5d1c0
- Main is red on the feature-notes rule: three notes that landed beside the new index get their rows (health, spoken; the desk over the API; the machine's size) 9d2fe57
- An approved pull has waited 553 hours and the tick only counts it: name it, then land it or close it (#12572) 00a195f
- The desk is one MCP tool with an action, inside the MCP size ceiling (#12563) 8a98ae9
- An app that is refused an outside host by the forge's gate says so in its own… (#12511) e25a18f
- Sentinel: One failure is stopping many pulls: the forge's, not theirs (#12588) ad943ed
- llms.txt and AGENTS.md point agents at the guide spine, and feature notes link from the spine page they belong to (#12544) 3a174f7
- The tree rule passes over the test run's own scratch in a tree with no .git 3fb2b87
- The real main.ts boots with the variables production sets and stays up twenty seconds, in every fast tier 9102186
- The engine's Worker can no longer take the forge down: one thread by default, a typed crossing, and a fallback c1ca8c0
- Sentinel: probe:probe-aa6bcd07 was degraded 41 minutes today: The release proof's probe forge probe-aa6bcd07 could not be removed and is still running. (#12551) 0b1873c
- v1.0.0 is the first chapter: its issues are recorded in it, and it closes only when the proof script passes on production (#12507) 04724f6
- /api/v1/health and /system report the cgroup's memory and CPU limit, not the host's (#12539) 18eaf38
The release proof now says whether its probe forge was removed and, if not, why. The release proof log line adds removed=true|false and, when false, remove_reason="…", next to the existing ok= and tries=. Before this, a leftover probe forge only showed up on the needs-you card.
What changed
src/release/journey.ts: the removal step now reports a reason along with its true/false result.JourneyResultgainsremoveReason, set only whenremovedis false. The reasons are plain sentences:- "the host said 503 to the removal" (whatever status the host gave)
- "the removal timed out"
- "the removal could not reach the host"
- "no way to remove it was given"
- "the host could not remove it" (in-process removal returned false)
- "the removal failed on the host" (in-process removal threw)
- "the name is not a probe forge's"
The reason comes from the last try after the existing backoff. The leftover sweep still only uses the true/false result.
src/release/prove.ts: theProofrecord hasremovedandremoveReasonwhenever a walk ran, taken from the last walk. The walk's ok/failed verdict is computed as before, so a failed removal still doesn't change it.
Tests
test/release-prove.test.tshas two new tests. Both would fail without the change, and each covers a removed and a not-removed walk: one checks the stored record, the other checks the exact log fields.test/release-journey.test.tsnow checks the reason in two cases: no token given, and a host that answers 503.bun scripts/gate.tsandbun x tsc --noEmitpass. The prove and journey suites pass (59 tests).scripts/fast.tssaid the diff was too broad to pick tests from, so I ran the otherrelease-*, leftover and probe suites myself. The only failure there istest/release-handover-keepalive.test.ts, which also fails with my change stashed, so this diff didn't cause it. I didn't look into why it fails; the forge's full check on the push will show whether it fails there too.
Left out
- The needs-you card doesn't show the reason yet.
- I didn't keep a plan on the issue: no
keep_planorestimatetool was available in this run.
🤖 Generated with Claude Code
The release proof now says whether its probe forge was removed and, if not, why. Before this, a leftover probe forge only showed up on the needs-you card.
What changed
src/release/journey.ts: the removal step now reports a reason along with its true/false result.JourneyResultgainsremoveReason, set only whenremovedis false. The reasons are plain sentences:- "the host said 503 to the removal" (whatever status the host gave)
- "the removal timed out"
- "the removal could not reach the host"
- "no way to remove it was given"
- "the host could not remove it" (in-process removal returned false)
- "the removal failed on the host" (in-process removal threw)
- "the name is not a probe forge's"
The reason comes from the last try after the existing backoff. The leftover sweep still only uses the true/false result.
src/release/prove.ts: theProofrecord hasremovedandremoveReasonwhenever a walk ran, taken from the last walk. Therelease prooflog line addsremoved=true|falseand, when false,remove_reason="…", next took=andtries=.- Verdict unchanged: a walk whose forge was left behind can still pass, and a test checks this.
Tests
test/release-prove.test.ts: two new tests check the stored record and the exact log fields. Both would fail without the change, and each covers a removed and a not-removed walk.test/release-journey.test.ts: now checks the reason in two cases, no token given and a host that answers 503.
Check fix: the earlier check failed on four lines I added. The two Bun.sleep(0) waits in the new log-line test now carry // real-timer: notes, like the file's other waits. The two new doc comments in prove.ts are rewrapped to 100 columns. The branch is merged with main at b9ab715. bun scripts/gate.ts and bun x tsc --noEmit pass, and the prove and journey suites pass (59 tests).
Not checked
scripts/fast.tssaid the diff was too broad to pick tests from, so I ran the otherrelease-*, leftover and probe suites myself. The only failure there wastest/release-handover-keepalive.test.ts, which also fails with my change stashed, so this diff didn't cause it.
Left out
- The needs-you card doesn't show the reason yet.
- I didn't keep a plan on the issue: no
keep_planorestimatetool was available in this run.
🤖 Generated with Claude Code
The release proof now says whether its probe forge was removed and, if not, why. The
release prooflog line addsremoved=true|falseand, when false,remove_reason="…", next to the existingok=andtries=. Before this, a leftover probe forge only showed up on the needs-you card.What changed
src/release/journey.ts: the removal step now reports a reason along with its true/false result.JourneyResultgainsremoveReason, set only whenremovedis false. The reasons are plain sentences:The reason comes from the last try after the existing backoff. The leftover sweep still only uses the true/false result.
src/release/prove.ts: theProofrecord hasremovedandremoveReasonwhenever a walk ran, taken from the last walk. The walk's ok/failed verdict is computed as before, so a failed removal still doesn't change it.Tests
test/release-prove.test.tshas two new tests. Both would fail without the change, and each covers a removed and a not-removed walk: one checks the stored record, the other checks the exact log fields.test/release-journey.test.tsnow checks the reason in two cases: no token given, and a host that answers 503.bun scripts/gate.tsandbun x tsc --noEmitpass. The prove and journey suites pass (59 tests).scripts/fast.tssaid the diff was too broad to pick tests from, so I ran the otherrelease-*, leftover and probe suites myself. The only failure there istest/release-handover-keepalive.test.ts, which also fails with my change stashed, so this diff didn't cause it. I didn't look into why it fails; the forge's full check on the push will show whether it fails there too.Left out
keep_planorestimatetool was available in this run.🤖 Generated with Claude Code
Closes #12574