Repository navigation
fix(ci): remove deploy.yml's misdiagnosed push trigger and gate the images paths (#661) - #899
Merged
Merged
Conversation
…es paths #587's push trigger was added to fix a cause that was misdiagnosed — the real reason #507 never deployed was cancel-in-progress, fixed by #599 and this file's queueing. The trigger never fired on a platform-only commit and only raced image builds on mixed commits, leaving noise-red deploy runs on main. Removed with PLATFORM_ONLY and the notice fork; the header now carries the correct diagnosis. deploy is reachable only through images, so images.yml's push paths gain scripts/ci/deploy-*.sh (the hole the removal would open) and deploy_reachability.rs holds all five surfaces in the required test context — both directions observed failing under mutation.
athvin
force-pushed
the
issue/661-deploy-push-trigger
branch
from
November 8, 2026 20:36
944141b to
4acf341
Compare
athvin
marked this pull request as ready for review
November 8, 2026 20:36
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 #661
What
Removes
deploy.yml'spush:trigger andPLATFORM_ONLY(the #587misdiagnosis — the real cause of #507's never-deployed allowlist was
cancellation, fixed by #599/queueing), corrects the header to the real
diagnosis, collapses the digests script's notice-vs-warning fork to the
warning, adds
scripts/ci/deploy-*.shtoimages.yml's push paths (the onecoverage hole the removal would open), and gates the invariant — deploy is
reachable only through images — with
er-schema/tests/deploy_reachability.rsin the required
testcontext. Both gate directions were observed failingunder mutation.
Why
Proof
deploy_reachabilitygreen (2 tests); a re-addedpush:and a trimmedscripts/ci/deploy-*.shpath each observed failing it;workflow-shell-checkok.make checkgreen (exit 0).Risk & rollback
The deploy's behaviour on mixed commits is unchanged (workflow_run path); what
disappears is the racing push run. If
imagesfails on a platform-carryingcommit, the platform half no longer deploys alone — deliberate, per the
ticket: half a commit should not roll, and
workflow_dispatchremains.git revert <merge-sha>restores the old trigger cleanly.Post-merge ledger
Closed by: agent · session
93a44611-348c-4819-b503-ac48b5acd076onMac· 2026-11-08T21:25:00Zmainis green with this change on it — merge SHA1c6645cb; itsown
rustrun was superseded under the merge burst (the known one-pending-run concurrency), and the proof is descendant
7cfeafc8(ancestry verified) with
rust,frontend,infra,devcontaineranddeployall completed success.imagesbuilt — on the descendants (6844d956,7cfeafc8success); this diff's own image inputs are one Rust test file, carried in
those builds.
deployconverged — and the descendant deploys on6844d956and7cfeafc8ran THROUGH theworkflow_runpath with the push triggergone, which is the live proof the removal kept deploy reachable. This
diff itself changes nothing on the cluster (workflows + a gate test).
deploysuccess on both descendants;
driftandkindlatest runs success.Donethrough the automation and deploy.yml's push trigger was a misdiagnosis — remove it and gate what it was protecting #661closed
COMPLETEDby the merge.was deferred.
in deploy.yml's own header (where the next reader of the trigger gap
will look), the invariant in
deploy_reachability.rs's doc, and thesession memory gained
mutation-revert-wipes-uncommitted(a working-practice lesson this ticket's implementation re-taught).
Specific to this change
Context — plan, discoveries, measurements, files
Plan
Discoveries
Measurements
Files