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

Add resume run action to RunsController #664

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

promulo
Copy link
Contributor

@promulo promulo commented Jul 7, 2022

This PR adds a resume route and controller action that takes an individual Run into account, in a similar fashion as pause and cancel.

Even though it seems redundant, this is ground work for a larger initiative, which is to allow tasks to have multiple active runs at a given time. I've decided to extract this particular bit in a separate PR since it is self-contained.

Current tests already cover the resume functionality, and that's why I haven't added any new tests.

Copy link
Member

@etiennebarrie etiennebarrie left a comment

Choose a reason for hiding this comment

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

That makes sense. We'll want to use the id for resuming next, but that can be a separate PR.

@promulo promulo marked this pull request as ready for review July 7, 2022 13:37
@promulo promulo merged commit 9c90a92 into main Jul 7, 2022
@promulo promulo deleted the paulo/add-resume-run-route branch July 7, 2022 13:48
promulo added a commit that referenced this pull request Jul 18, 2022
@promulo promulo self-assigned this Jul 21, 2022
lawrencewong pushed a commit to lawrencewong/maintenance_tasks that referenced this pull request Apr 29, 2023
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