Skip to content

fix(scaffold): fail consumer CI summary on cancelled required checks - #1416

Merged
c-vigo merged 2 commits into
devfrom
bugfix/1414-scaffold-summary-cancelled
Aug 11, 2026
Merged

c-vigo merged 2 commits into
devfrom
bugfix/1414-scaffold-summary-cancelled

Conversation

@c-vigo

@c-vigo c-vigo commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #1414: the scaffolded consumer ci.yml summary gate treated a cancelled lint, test, commit-checks, scaffold-drift, or dependency-review job as green — only resolve-toolchain had 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 on cancelled as well as failure, with the [BUG] CI Test Summary passes when a needed job is cancelled #1371 doctrine comment; skipped stays tolerated (dispatch subsets, PR-only jobs, drift-check knob). Synced CHANGELOG.md copy updated by the manifest hook.
  • tests/test_workflow_summary_gate.py: parametrized over both ci.yml copies (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 → Fixed entry.

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).
  • Scaffold ci.yml shape suites (zizmor_baseline, ci_runner, workflow_model, scaffold_drift, scaffold_lint): 89 passed; zizmor audit over assets/workspace/.github/workflows/: no findings.
  • Full prek hook suite on all files: green.

Closes #1414

@c-vigo
c-vigo merged commit d7a5afd into dev Aug 11, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/1414-scaffold-summary-cancelled branch August 11, 2026 08:58
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.

1 participant