Feature: Scheduler pipeline management: Pause/Resume#30
Merged
Conversation
athul-rs
requested review from
chandrasekharan-zipstack,
jaseemjaskp,
muhammad-ali-e and
nehabagdia
February 29, 2024 16:35
jaseemjaskp
approved these changes
Mar 1, 2024
| task = PeriodicTask.objects.get(name=task_name) | ||
| task.enabled = False | ||
| task.save() | ||
| update_pipeline(task_name, Pipeline.PipelineStatus.PAUSED, False) |
Contributor
There was a problem hiding this comment.
NIT: @athul-rs using named kwargs is much more explicit when passing around bools - in this case we'll have to inspect the function to know the behaviour
pk-zipstack
pushed a commit
that referenced
this pull request
Aug 20, 2025
* Feature: Scheduler pipeline management: Pause/Resume * Update serializer --------- Co-authored-by: Jaseem Jas <89440144+jaseemjaskp@users.noreply.github.com>
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.
What
... Pipeline feature to Paused and Resume.
Why
... Earlier the button functionality was not implemented.
How
... Changing pipeline status as well as celery beat status for the pipeline.
Relevant Docs
Related Issues or PRs
Dependencies Versions / ENV Variables
Notes on Testing
...
Screenshots
... Not applicable here, since UI part was already implemented.
Checklist
I have read and understood the Contribution Guidelines.