parkhojeong commented on issue #66462:
URL: https://github.com/apache/airflow/issues/66462#issuecomment-4398056919
Bug repro:
1. Create a Dag with schedule="*/2 * * * *" and catchup=False.
2. Open /dags and unpause the Dag.
3. Wait for one scheduled run to succeed and note the next Next Run time.
4. Pause the Dag.
5. Wait until that Next Run time passes, then refresh /dags.
example:
- Current time: 10:03
- Dag state: paused
- Next Run: 10:02
repro dag
```py
with DAG(
dag_id="repro_paused_next_run_drift",
start_date=pendulum.datetime(2026, 1, 1, tz="UTC"),
schedule="*/2 * * * *",
catchup=False,
tags=["repro"],
):
@task
def noop():
print("ok")
noop()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]