kaxil commented on PR #70051:
URL: https://github.com/apache/airflow/pull/70051#issuecomment-5942830000

   Closing this. `DagUnpausedDep` doesn't run in the scheduler loop: 
`update_state()` builds its `DepContext`s without extra deps, and the operator 
deps it evaluates are `NotInRetryPeriodDep`, `PrevDagrunDep`, `TriggerRuleDep`, 
`NotPreviouslySkippedDep` and `MappedTaskUpstreamDep`. `DagUnpausedDep` is only 
in `SCHEDULER_QUEUED_DEPS`, which the task-dependencies endpoint and `tasks 
failed-deps` use for one task instance at a time. The change still adds 
`joinedload(TI.dag_model)` to every `fetch_task_instances` call, with no tests.


-- 
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]

Reply via email to