airflow: Triggering DAG from UI Creates 2 DAG runs if the DAG was paused
Apache Airflow version
2.3.2 (latest released)
What happened
If a DAG with a schedule_interval
set to @daily
is paused, and the DAG is triggered by clicking the “play” button --> “Trigger DAG”, two DAG runs will simultaneously be triggered: One for the current data interval and one for the manual run.
What you think should happen instead
Maybe an alert with confirmation should pop up and inform the user that the DAG run will be for the current data interval rather than the current datetime?
How to reproduce
- Pause a DAG that hasn’t run in the current data interval.
- Trigger the DAG by clicking the “play” button then clicking “Trigger DAG”
Operating System
Debian 11
Versions of Apache Airflow Providers
n/a
Deployment
Astronomer
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 2
- Comments: 22 (6 by maintainers)
Hi @potiuk please assign it to me.