Skip to content

[SPARK-58995][INFRA] Cancel superseded CI runs with a concurrency group - #56

Closed
HyukjinKwon wants to merge 1 commit into
apache:masterfrom
HyukjinKwon:ci-concurrency
Closed

HyukjinKwon wants to merge 1 commit into
apache:masterfrom
HyukjinKwon:ci-concurrency

Conversation

@HyukjinKwon

Copy link
Copy Markdown
Member

Summary

CI workflows keep running to completion even after a newer commit supersedes them, so stale runs pile up in the Actions queue. Add a concurrency group keyed on the workflow and ref with cancel-in-progress: true so a new run cancels the older, superseded one.

Applied to rust.yml, lint.yml, and build_python_connect.yml. release.yml is intentionally left out (releases must not be cancelled), and docs.yml already has this.

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

JIRA: https://issues.apache.org/jira/browse/SPARK-58995

This pull request and its description were written by Isaac.

Add a `concurrency` group keyed on the workflow and ref with
`cancel-in-progress: true` to rust.yml, lint.yml, and build_python_connect.yml,
so a newer commit cancels the older, now-superseded run instead of letting stale
runs pile up in the Actions queue. release.yml is intentionally left out
(releases must not be cancelled); docs.yml already has this.

Co-authored-by: Isaac <no-reply@databricks.com>
@HyukjinKwon

Copy link
Copy Markdown
Member Author

I am merging this to save ASF wise resources

@HyukjinKwon
HyukjinKwon deleted the ci-concurrency branch September 7, 2026 22:39
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