Repository navigation
ci: deploy the frontend on push to main again - #337
Merged
Merged
Conversation
Every push to main since #328 skipped "Deploy frontend". Its `if` relied on the implicit success(), which also looks at ancestors, and a push always has skipped ones: the Seldon race, the hosted twins and the rescues. It now requires each job in its own `needs` to have succeeded. The backend "Deploy" job is unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
NateIsern
enabled auto-merge (squash)
December 4, 2026 08:00
NateIsern
added a commit
that referenced
this pull request
Dec 4, 2026
#337 did not work. In a job's `if`, `needs.*.result` also holds skipped ancestors, so `!contains(needs.*.result, 'skipped')` is false on every push (reproduced on GitHub, run 47297480733). The condition now names each job in `needs`, and a test fails when the two lists differ. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Problem
Every push to
mainsince #328 (d1d5a9d) has skippedDeploy frontend, with CI green. goway.to has only been updated by hand since, so #335 is merged but not live.deploy-frontend'sifhad no status function, so GitHub applied the implicitsuccess(). That also looks at ancestors, and a push always has skipped ones:race, the-hostedtwins and the-rescuejobs.Change
The
ifnow uses!cancelled()and requires that no job inneedsendedfailure,cancelledorskipped. Usingneeds.*.resultmeans a job added toneedslater is covered without editing the condition. Push-to-mainandOXY_1519_ROLLOUT_HOLDare as before.The backend
Deployjob is not changed. It has the sameifshape and is still skipped on push. Fixing it ships backend code, so it is a separate decision.Merging this deploys the web app from
main.Verification
The expression read from the parsed
ci.ymlwas evaluated locally: true when every job inneedssucceeded (as in theb7df04epush run); false for each of the 21 failure, cancelled or skipped cases, a cancelled run, a rollout hold, a pull request and aworkflow_dispatch. This is a stand-in evaluator, not GitHub's: the real check is the push run after merge.test:gatesandvalidate:agents-mdpass.🤖 Generated with Claude Code