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

Ability to cancel series run by other users #719

Open
smehta99 opened this issue Nov 20, 2023 · 3 comments · May be fixed by #779
Open

Ability to cancel series run by other users #719

smehta99 opened this issue Nov 20, 2023 · 3 comments · May be fixed by #779
Assignees
Milestone

Comments

@smehta99
Copy link
Collaborator

I want to be able to cancel series run by other people in the same group using pav series cancel.

@Paul-Ferrell
Copy link
Collaborator

When a series gets it's cancel() method called, drop a 'CANCEL' file (or some other reasonable name) into the series directory. Then in the main series loop check for that file regularly. You'll probably have to pass the file path to any TestSet objects too, so they can test during builds and kickoff.

I usually like to wrap filesystem checks like that in some sort of timer based limiting.

@Paul-Ferrell Paul-Ferrell added this to the March 2024 milestone Feb 29, 2024
@Paul-Ferrell
Copy link
Collaborator

Cancelling a series should trigger the cancellation of underlying tests by the '_series' process.

@Paul-Ferrell
Copy link
Collaborator

pav cancel <series_id> should cancel the series this way too.

@hwikle-lanl hwikle-lanl linked a pull request Jul 31, 2024 that will close this issue
7 tasks
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 a pull request may close this issue.

4 participants