Repository navigation
fix(scaffold): fail consumer CI summary on cancelled required checks - #1416
Merged
Merged
Conversation
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.
Summary
Fixes #1414: the scaffolded consumer
ci.ymlsummary gate treated a cancelledlint,test,commit-checks,scaffold-drift, ordependency-reviewjob as green — onlyresolve-toolchainhad the cancelled leg — so a consumer PR whose CI run was cancelled (timeout, concurrency cancel, runner eviction) could still merge. The devkit copy has handled this since #1371.Changes
assets/workspace/.github/workflows/ci.yml: every needed job of the summary now trips the gate oncancelledas well asfailure, with the [BUG] CI Test Summary passes when a needed job is cancelled #1371 doctrine comment;skippedstays tolerated (dispatch subsets, PR-only jobs, drift-check knob). SyncedCHANGELOG.mdcopy updated by the manifest hook.tests/test_workflow_summary_gate.py: parametrized over bothci.ymlcopies (devkit + scaffold) on the shared workflow helpers — failure legs, cancelled legs, and skipped tolerance are now pinned per (copy, job). Written test-first: the five scaffold cancelled legs were red before the template fix.CHANGELOG.md:Unreleased→Fixedentry.Verification
tests/test_workflow_summary_gate.py+tests/test_workflow_private_repo_guard.py: 52 passed (was 5 failed on the scaffold cancelled legs before the fix).ci.ymlshape suites (zizmor_baseline,ci_runner,workflow_model,scaffold_drift,scaffold_lint): 89 passed; zizmor audit overassets/workspace/.github/workflows/: no findings.Closes #1414