Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Cancel Workflows #960

Merged
merged 5 commits into from
Dec 2, 2024
Merged

Fix Cancel Workflows #960

merged 5 commits into from
Dec 2, 2024

Conversation

Leahh02
Copy link
Collaborator

@Leahh02 Leahh02 commented Nov 21, 2024

This PR fixes cancel workflows. When a workflow was cancelled it ran to completion. Now running or scheduled tasks complete, but new tasks aren't scheduled.

@Leahh02 Leahh02 added the WIP (no-ci) Don't run any CI for this PR label Nov 21, 2024
@Leahh02 Leahh02 added WIP Work in progress and removed WIP (no-ci) Don't run any CI for this PR labels Dec 2, 2024
@Leahh02 Leahh02 removed the WIP Work in progress label Dec 2, 2024
@Leahh02 Leahh02 requested a review from pagrubel December 2, 2024 16:24
@Leahh02
Copy link
Collaborator Author

Leahh02 commented Dec 2, 2024

I don't have the testing mentioned in Issue #955. I was thinking that should maybe be in a separate PR so this one isn't overwhelming.

@pagrubel
Copy link
Collaborator

pagrubel commented Dec 2, 2024

I don't have the testing mentioned in Issue #955. I was thinking that should maybe be in a separate PR so this one isn't overwhelming.

That's fine. Let's make another issure for that so we can close #955 when this is merged

Copy link
Collaborator

@pagrubel pagrubel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!
For now if a workflow is cancelled we don't cancel jobs. I like how if all the jobs are already running the workflow continues and is archived once they are completed. And any running jobs are archived. We will need to look at testing and think about how we might want to allow users the option to cancel jobs.

@pagrubel pagrubel merged commit a01b75a into develop Dec 2, 2024
6 checks passed
@pagrubel pagrubel deleted the Issue955/fix-cancel-workflows branch December 2, 2024 22:20
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.

2 participants