Repository navigation
verify names the job that stopped the run, in full, and not the jobs it stopped - #2763
Merged
Merged
Conversation
…it stopped A pull request's run stops at its first failure, and GitHub records the job that stopped it as cancelled, like every job it stopped. On #2706 a lint failure stopped the run three times and it read as cancelled from outside: verify split "format, lint, types" at its commas and listed `tests`, which failed only because its shards were cancelled. verify now prints one line per job, with the step that failed: "Stopped the run: format, lint, types failed at "Run bun run lint"", then any other job that failed before the stop. Jobs that started after the stop, and `tests` when a shard did not pass, are left out. A run cancelled with no failed job says so. The lines go on verify's job and at the top of the run's summary. Tested by running verify's own step on the job lists GitHub returned for four real runs.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 03:14
davidmckayv
enabled auto-merge
December 2, 2026 03:14
tylerslaton
approved these changes
Dec 2, 2026
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.
What this changes
A pull request's run stops at its first failure (
.github/actions/stop-on-failure), and GitHub records the job that stopped it as cancelled, like every job it stopped. On #2706 a lint failure stopped the run three times, and it read as cancelled from outside.verifysaidFailed: format, lint, types, tests: it split the job's name at its commas, and listedtests, which failed only because its shards were cancelled.verifynow prints one line per job, with the step that failed, on its own job and at the top of the run's summary:Stopped the run: format, lint, types failed at "Run bun run lint". Its log shows why; the jobs it stopped are marked cancelled.The job that stopped the run is the first cancelled job with a failed step.Also failed: …for any other job that failed before the stop.testswhen a shard did not pass.Failed: <job> failed at "<step>".for each failed job, first failure first.No job failed: the run was cancelled from outside it, by a newer push, the merge queue or a person.The rule is a jq program in
verify's env (NAME_FAILURES), soverifystill needs no checkout.Where it runs
CI only. Nothing in the product changes.
Boundary and audit
API and database
api/, no app's requests, no database change and norelease-policy.json.Changelog
None.
Proof
scripts/verify-failures.test.tsrunsverify's own step, asci.ymlwrites it, on the job lists GitHub returned for four real runs.ghanswers from the fixture.release notejob.verify(4 of 7 red) and passes here.stop-on-failure.test.ts,ci-changes.test.ts,test-floor.test.tsandci-runners.test.tspass.ci.yml. Local actionlint 1.7.12 doesn't know the existing$/local-action refs, which are unchanged here.