Skip to content

Stop obsolete CI jobs on workflow cancellation#8034

Open
tohtana wants to merge 1 commit into
deepspeedai:masterfrom
tohtana:tohtana/fix/ci-cancelled-always
Open

Stop obsolete CI jobs on workflow cancellation#8034
tohtana wants to merge 1 commit into
deepspeedai:masterfrom
tohtana:tohtana/fix/ci-cancelled-always

Conversation

@tohtana
Copy link
Copy Markdown
Collaborator

@tohtana tohtana commented May 28, 2026

This PR stops obsolete CI job runs after workflow cancellation.

Currently, obsolete workflow runs could keep long-running jobs alive after a newer push or dispatch cancelled the run.
This PR switches the affected job predicates from always() to !cancelled() while preserving the existing path-filter, skip, and failure behavior.

Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
@tohtana tohtana requested a review from loadams as a code owner May 28, 2026 21:10
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