Skip to content

ci: stop cancelled runs from failing the ci check - #40

Merged
PiquelChips merged 1 commit into
mainfrom
ci/skip-cancelled-summary
Nov 8, 2026
Merged

PiquelChips merged 1 commit into
mainfrom
ci/skip-cancelled-summary

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

Every push to a stacked PR starts two CI runs for the same commit, and the concurrency group cancels one of them. The ci summary job ran with if: always(), so in the cancelled run it still ran, found its jobs cancelled and failed. Every PR then showed a red ci check, even when the run that finished had passed.

The summary now runs only if the run wasn't cancelled (if: ${{ !cancelled() }}). A cancelled run skips it, while a job that fails or times out in a run that goes on still fails it.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@PiquelChips PiquelChips added the area/ci The origin-ci plugin label Nov 8, 2026
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4095c1c0-5d31-4c46-a26a-e7976e7895f3
Commits

Reviewing files that changed from the base of the PR and between 80a1961 and a906ac0.

Files selected for processing: 1

  • .github/workflows/ci.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips PiquelChips self-assigned this Nov 8, 2026
@PiquelChips PiquelChips added this to the v0.1 milestone Nov 8, 2026
@github-project-automation github-project-automation Bot moved this to Needs Triage in sourceorigin.dev Nov 8, 2026
@PiquelChips
PiquelChips merged commit 117d55b into main Nov 8, 2026
6 checks passed
@PiquelChips
PiquelChips deleted the ci/skip-cancelled-summary branch November 8, 2026 16:31
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in sourceorigin.dev Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci The origin-ci plugin

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant