Repository navigation
fix(deploy): core-binaries is an artifact publisher, never the tip's verdict - #4706
Conversation
…verdict Since #4691 every canary push runs core-binaries.yml (44-73 min per macOS leg, cancel-in- progress on the branch), and the tracker counted its check-runs in the tip's verdict. On 2026-10-04 the M5 sat at ChecksPending from 01:36Z to 04:00Z across five merges and deployed nothing: no tip was green before the next merge cancelled its run. The same verdict holds every node that reads it. core-binaries.yml joins NON_DEPLOY_WORKFLOW_PATHS beside promote-main: it publishes the tip's prebuilt core and judges no code; the deploy consumer waits for that artifact on its own budget (#4702). A tip whose own suites are green is deployable the moment they are. Test pins: in-flight = green, cancelled = green, core-binaries as the only suite = unknown. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVED at 5774b40 on green, with one addition in this PR (Cormac). Right fix, and my #4691 caused it: core-binaries publishes an artifact and judges no code, and #4702's consumer waits for the artifact on its own budget. The test covers in-flight, cancelled, and 'core-binaries as the only suite = Unknown, never green by absence'. Good. |
… too (Cormac on #4706) promote-main.yml carries its own copy of the verdict rule and treats cancelled as a hard fail; a core-binaries run superseded by the next push would have blocked the daily canary -> main promotion the same way it held the deploy tracker. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVED at 8eef0f0, on CI green at this head (Cormac). promote-main.yml's NON_DEPLOY_PATHS now carries core-binaries.yml, with a comment tying it to the tracker's list, so a superseded core-binaries run no longer blocks the daily canary→main promote. |
…reads ask gh for only what they use (#4711) The deploy tracker's workflow-runs read for a canary tip is 90 KB; the bounded probe keeps 64 KB and `probe()` dropped `Captured`'s truncated flag, so the cut JSON came back "ok", failed to parse, and parse_tip_checks fell back to counting every check. #4706's core-binaries exclusion never applied: every node's deploy waited on the 44-73 min macOS legs (the 5090 on b6ddc0d, 2026-10-04: total 10, excluded 0, filtered false, runs_read ok). - bounded_command: `Probed::Truncated`, outcome "truncated", never `stdout_if_ok`. Every caller of `probe` now sees an incomplete answer as one; the existing large-output test asserts it. - deploy_tracker: both gh reads project with --jq to the fields parse_tip_checks reads (check-runs 31 KB -> 1.2 KB, runs 90 KB -> 0.6 KB on b6ddc0d). Co-authored-by: Claude Opus 5.5 <[email protected]>
The regression (today, our own)
Since #4691 every canary push runs
core-binaries.yml: 44–73 min per macOS leg,cancel-in-progresson the branch. The Rust tracker counted its check-runs in the tip's verdict, so a tip was never green before the next merge cancelled its run. Receipt from the M5:deploy.track.decision verdict=ChecksPendingfrom 01:36Z to 04:00Z across five merges, nothing deployed.gh: 5f92036 both legsin_progress; e545f64, 37545f7, a521573cancelled. Every node reading the same verdict is held the same way.Fix
core-binaries.ymljoinsNON_DEPLOY_WORKFLOW_PATHSbesidepromote-main. It publishes the tip's prebuilt core and judges no code; the deploy consumer already waits for that artifact on its own budget (#4702). A tip whose own suites are green is deployable the moment they are.Test pins: core-binaries in flight = green; cancelled (superseded by the next push) = green; core-binaries as the only suite = unknown, never green by absence.
deploy_trackertests 4/4.Same rule as the merge cadence: a gate that takes longer than the merge interval starves every node.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo