Skip to content

fix(ci): remove deploy.yml's misdiagnosed push trigger and gate the images paths (#661) - #899

Merged
athvin merged 6 commits into
mainfrom
issue/661-deploy-push-trigger
Nov 8, 2026
Merged

athvin merged 6 commits into
mainfrom
issue/661-deploy-push-trigger

Conversation

@athvin

@athvin athvin commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Closes #661

🚧 Claimed by an agent session — 2026-11-08T19:31:18Z, session 93a44611-348c-4819-b503-ac48b5acd076 on Mac.
The claim is this open draft PR: closing it releases the ticket.

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

What

Removes deploy.yml's push: trigger and PLATFORM_ONLY (the #587
misdiagnosis — 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-*.sh to images.yml's push paths (the one
coverage hole the removal would open), and gates the invariant — deploy is
reachable only through images — with er-schema/tests/deploy_reachability.rs
in the required test context. Both gate directions were observed failing
under mutation.

Why

Proof

deploy_reachability green (2 tests); a re-added push: and a trimmed
scripts/ci/deploy-*.sh path each observed failing it;
workflow-shell-check ok. make check green (exit 0).

Risk & rollback

The deploy's behaviour on mixed commits is unchanged (workflow_run path); what
disappears is the racing push run. If images fails on a platform-carrying
commit, the platform half no longer deploys alone — deliberate, per the
ticket: half a commit should not roll, and workflow_dispatch remains.
git revert <merge-sha> restores the old trigger cleanly.

Post-merge ledger

Closed by: agent · session 93a44611-348c-4819-b503-ac48b5acd076 on Mac · 2026-11-08T21:25:00Z

  • main is green with this change on it — merge SHA 1c6645cb; its
    own rust run was superseded under the merge burst (the known one-
    pending-run concurrency), and the proof is descendant 7cfeafc8
    (ancestry verified) with rust, frontend, infra, devcontainer and
    deploy all completed success.
  • images built — on the descendants (6844d956, 7cfeafc8
    success); this diff's own image inputs are one Rust test file, carried in
    those builds.
  • deploy converged — and the descendant deploys on 6844d956 and
    7cfeafc8 ran THROUGH the workflow_run path with the push trigger
    gone, which is the live proof the removal kept deploy reachable. This
    diff itself changes nothing on the cluster (workflows + a gate test).
  • the push-only surface no pull request can pre-test — deploy
    success on both descendants; drift and kind latest runs success.
  • the board card reached Done through the automation and deploy.yml's push trigger was a misdiagnosis — remove it and gate what it was protecting #661
    closed COMPLETED by the merge.
  • follow-ups are open for everything deferred here — n/a: nothing
    was deferred.
  • what was learned is written down — the corrected diagnosis lives
    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 the
    session 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

…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
athvin force-pushed the issue/661-deploy-push-trigger branch from 944141b to 4acf341 Compare November 8, 2026 20:36
@athvin
athvin marked this pull request as ready for review November 8, 2026 20:36
@athvin
athvin merged commit 1c6645c into main Nov 8, 2026
50 checks passed
@athvin
athvin deleted the issue/661-deploy-push-trigger branch November 8, 2026 21:23
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.

deploy.yml's push trigger was a misdiagnosis — remove it and gate what it was protecting

2 participants