Repository navigation
[SPARK-58995][INFRA] Cancel superseded CI runs with a concurrency group - #56
Closed
HyukjinKwon wants to merge 1 commit into
Closed
HyukjinKwon wants to merge 1 commit into
HyukjinKwon wants to merge 1 commit into
Conversation
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>
Member
Author
|
I am merging this to save ASF wise resources |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
concurrencygroup keyed on the workflow and ref withcancel-in-progress: trueso a new run cancels the older, superseded one.Applied to
rust.yml,lint.yml, andbuild_python_connect.yml.release.ymlis intentionally left out (releases must not be cancelled), anddocs.ymlalready has this.JIRA: https://issues.apache.org/jira/browse/SPARK-58995
This pull request and its description were written by Isaac.