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

feat: soft_fail TriggerDagRunOperator #39173

Merged

Conversation

raphaelauv
Copy link
Contributor

If I have a lot of TriggerDagRunOperator in failed stated ( where some failed before triggering the dag_run and some after ) for any reason ( airflow worker unclean stop .., zombie task ... )

then if I clear all of them , some will be running then success and others will directly fail because dag_run already exists and was correctly trigger

So it's painful to manage this operator at real scaling ( thousands of runs )

with this option we can clear the operator and it will not fail in case the dag_run was correctly trigger

@boring-cyborg boring-cyborg bot added the area:core-operators Operators, Sensors and hooks within Core Airflow label Apr 22, 2024
@raphaelauv raphaelauv force-pushed the feat/soft_fail_TriggerDagRunOperator branch from 2180556 to b78cd43 Compare April 22, 2024 21:30
Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

LGTM

@Taragolis
Copy link
Contributor

@raphaelauv could you resolve conflicts?

@raphaelauv raphaelauv force-pushed the feat/soft_fail_TriggerDagRunOperator branch from b78cd43 to 04ebcc4 Compare May 5, 2024 21:40
@raphaelauv raphaelauv force-pushed the feat/soft_fail_TriggerDagRunOperator branch from 04ebcc4 to ce3387a Compare May 5, 2024 22:14
@raphaelauv
Copy link
Contributor Author

@Taragolis it's done , thanks

@Taragolis Taragolis merged commit eb48911 into apache:main May 6, 2024
39 checks passed
@raphaelauv raphaelauv deleted the feat/soft_fail_TriggerDagRunOperator branch May 7, 2024 08:40
RodrigoGanancia pushed a commit to RodrigoGanancia/airflow that referenced this pull request May 10, 2024
* feat: soft_fail TriggerDagRunOperator

* review_1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core-operators Operators, Sensors and hooks within Core Airflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants