Skip to content

Conversation

@keshav-space
Copy link
Member

Set run_once class variable to True to run pipeline only once.

  • To rerun onetime pipeline, reset is_active to True via a migration, pipeline will run one more time and then deactivate.
  • To convert a onetime pipeline to a regular pipeline, set the run_once class variable to False and reset is_active field to True via a migration.

Resolves #2005

Signed-off-by: Keshav Priyadarshi <git@keshav.space>
- To rerun onetime pipeline, reset `is_active` to `True` via a migration,
    pipeline will run one more time and then deactivate.
- To convert a onetime pipeline to a regular pipeline,
    set the `run_once` class variable to `False` and reset
    the `is_active` field to `True` via a migration.

Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
@keshav-space keshav-space self-assigned this Jan 9, 2026
@keshav-space keshav-space changed the title Ad support running pipeline only once Add support running pipeline only once Jan 9, 2026
@keshav-space keshav-space changed the title Add support running pipeline only once Support running pipeline only once Jan 9, 2026
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.

Support running pipeline only once

1 participant