Skip to content

Build branches: a newer run cancels the older one - #141

Closed
Tobias-Fischer wants to merge 1 commit into
mainfrom
build-cancel-older
Closed

Tobias-Fischer wants to merge 1 commit into
mainfrom
build-cancel-older

Conversation

@Tobias-Fischer

Copy link
Copy Markdown
Collaborator

A new push to a build branch, after a merge to main, brings the latest recipes and workflow, so the run already in progress is working from an outdated plan. Until now that run kept going, and the new one waited behind it. Today the jazzy win-64 and osx-64 runs had to be cancelled by hand.

rs gha now writes cancel-in-progress: true into the build workflows' concurrency group:

  • Nothing gets lost: the builds skip anything already on the channel, so the new run continues where the old one stopped. Only the packages that a cancelled job had built but not yet uploaded are built again.
  • Re-runs: re-run failed jobs only in a build branch's newest run. Re-running an older run would cancel the newer one. The comment in rs gha and the README say so.

Labelled build:none, so only the checks run. All tool tests pass.

🤖 Claude (AI assistant), on behalf of @Tobias-Fischer

🤖 Generated with Claude Code

A new push to a build branch (after a merge to main) brings the latest
recipes and workflow; the older run's plan is out of date. The new run skips
what the old one uploaded already, so only the packages its cancelled jobs
had built but not uploaded are built again. Re-run failed jobs only in the
newest run: re-running an older one would cancel the newer run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer Tobias-Fischer added the build:none PR build: build no packages, only run the checks (tooling, CI or docs changes) label Oct 23, 2026
@Tobias-Fischer

Copy link
Copy Markdown
Collaborator Author

Moved into #60 (the lyrical sync), as requested.

🤖 Claude (AI assistant), on behalf of @Tobias-Fischer

@Tobias-Fischer
Tobias-Fischer deleted the build-cancel-older branch October 23, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:none PR build: build no packages, only run the checks (tooling, CI or docs changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant