uranusjr commented on PR #68359:
URL: https://github.com/apache/airflow/pull/68359#issuecomment-5140973201
If I read this correctly, this callback does not fire if a _new_ dag (no
previous run) is unpaused but has a previous schedule to catch-up. For example:
```python
DAG("foo", catchup=True, start_date=datetime(2026, 1, 1),
schedule="@monthly")
```
would create catchup runs for January to July immediately on addition and
unpause since today is 31 July. However, this callback would not fire if we add
the callback and change it to `catchup=False`. This may be surprising.
Technically this can be an explicit design choice; either way can make sense
depending on the use case. But the desicion needs to be documented somewhere.
--
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]