Skip to content

ci: ci-ok runs unless the run was cancelled - #111

Merged
addisdev merged 1 commit into
developfrom
ci/gate-not-on-cancelled
Oct 24, 2026
Merged

addisdev merged 1 commit into
developfrom
ci/gate-not-on-cancelled

Conversation

@addisdev

Copy link
Copy Markdown
Owner

One line: the ci-ok job's if: always() becomes if: ${{ !cancelled() }}.

Why: with concurrency: cancel-in-progress, a newer push cancels the running run, and always() still ran ci-ok, which then failed on the cancelled jobs. In Jerv that was about 7 of 16 red gates 10-20..10-23 (runs 39962971234, 39866680011, 39863023360, 39861510190, 39852318773, 39834644844; each run cancelled, gate / gate failure), and DiscoBeat 4 of 20. A cancelled run's ci-ok is now skipped; its cancelled jobs still show cancelled (read as red by Upkeep and pr-autoreview), and the newer run's ci-ok is the verdict. ci-ok still runs, and still fails, when a job fails or times out.

Same change as the kit's own templates and web-e2e gate: addisdev/taylab-launch-kit#267 (v1.40.4). This PR does not depend on it.

🤖 Generated with Claude Code

always() also ran it on a run that concurrency cancel-in-progress had
cancelled, and it failed on the cancelled jobs: a red check for a commit
nobody was judging any more (taylab-launch-kit v1.40.4). It still runs
when a job fails or times out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@addisdev
addisdev merged commit 56cb295 into develop Oct 24, 2026
27 checks passed
@addisdev
addisdev deleted the ci/gate-not-on-cancelled branch October 24, 2026 15:55
addisdev added a commit that referenced this pull request Oct 25, 2026
always() also ran ci-ok on a run that concurrency cancel-in-progress had
cancelled, and it failed on the cancelled jobs: 18 of the 25 ci-ok failures
10-11..10-21 were that. Cherry-pick of 56cb295 (#111) from develop. A
cancelled run's ci-ok now concludes cancelled (checked on this PR), which
still does not satisfy the required check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019jHjgRysB6GajV3oDppruf
addisdev pushed a commit that referenced this pull request Oct 26, 2026
Brings back what landed on main without going through develop:
#112 (Node.js 24 action majors), #114 (already here as #111; identical),
#110 vite 7.3.7, #109 fastify 5.12.6, #113 fast-uri, and #116 (gradlew.bat
and OFL-IBMPlex.txt stored with LF).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019jHjgRysB6GajV3oDppruf
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