You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "kaxil (via GitHub)" <gi...@apache.org> on 2026/10/01 21:21:54 UTC

Re: [PR] Fix stale DAGs affecting source authorization [airflow]

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

   Closing this. `DagModel.is_stale` defaults to `True`, so the new `is_stale.is_(False)` filter drops the co-located Dag in the existing `colocated_unreadable_dag` fixture, and `test_source_is_redacted_when_caller_cannot_read_all_dags_in_file` now fails in all four DB test jobs. The new test sets `is_stale = True`, which is already the default. And when the requested Dag is itself stale, the filter leaves no Dags to check, so the authorization check is skipped and the full file source is returned.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org