Repository navigation
Description
Summary
Test Summary (the summary job in .github/workflows/ci.yml) is the only
required status check on dev. It aggregates eight needs: jobs but sets
FAILED=true only when a job's result is "failure". A cancelled
job therefore leaves the required check green, and a PR whose CI never
actually finished can be merged.
Where
.github/workflows/ci.yml, job summary (if: always()), first step
"Check test results":
if [ "${{ needs.build-image.result }}" = "failure" ]; then
echo "ERROR: Build image failed"
FAILED=true
fi…repeated for build-image, test-image, test-integration,
project-checks, commit-checks, python-security, security-scan,
dependency-review. None of the eight tests for cancelled.
How a job gets cancelled
- job
timeout-minuteselapses; - a concurrency group cancels the in-progress run when a new commit is pushed —
but the old run'ssummarystill reports on the PR until the new one
supersedes it; - runner eviction / infrastructure cancellation;
- someone hits "Cancel workflow" on a run.
In each case summary itself still executes (if: always()), finds no
"failure", prints "All executed test suites passed", and exits 0.
Fix
For each of the eight needed jobs, set FAILED=true when the result is
"failure" or "cancelled".
Explicitly NOT fixed on skipped
skipped must stay tolerated: workflow_dispatch accepts a test-suite
input (all / image / integration / project) and every job is gated on it,
so a deliberate subset run legitimately skips the rest. commit-checks and
dependency-review are also PR-only. Failing on skipped would break both.
The precedent is pinned for the scaffold copy by
tests/test_workflow_private_repo_guard.py::test_summary_needs_dependency_review_with_skip_tolerance;
this issue changes only devkit's own ci.yml, which is not
manifest-synced to assets/workspace/.
Acceptance criteria
- each of the eight
needs:jobs tripsFAILEDoncancelledas well as
failure - no job trips
FAILEDonskipped - the per-job echo/reporting style of the step is unchanged
- the skipped-is-legitimate rationale is recorded in a comment in the
workflow
Activity
test(ci): pin Test Summary gate against cancelled needed jobs
fix(ci): fail Test Summary when a needed job is cancelled
fix(ci): fail Test Summary when a needed job is cancelled (#1375)
c-vigo commentedon Aug 7, 2026
Fixed on dev by PR #1375 (51f92a6): all eight needed jobs in the Test Summary gate now trip FAILED on cancelled as well as failure, with skipped still tolerated (rationale recorded in a workflow comment) — pinned by the new bats test from 6420af3.
chore: release 1.7.0 (#350)
chore: release 1.7.0 (#1385)
fix(scaffold): fail consumer CI summary on cancelled required checks (#…
chore: release 1.8.0 (#1441)
ci: cancel superseded CI runs per ref (#1604)