The GitHub Actions job "Tests (AMD)" on 
airflow.git/stewang/authorized-dag-ids-select has failed.
Run started by GitHub user 1fanwang (triggered by 1fanwang).

Head commit for run:
16ef740054d37040fef70b3a9bad1442fde05dd1 / 1fanwang <[email protected]>
Let an auth manager push dag authorization into SQL

get_authorized_dag_ids returns a set, so every authorized dag id is loaded
into memory before pagination is applied. FabAuthManager keeps its grants in
the metadata database and still does this: a user authorized on all dags gets
select(DagModel.dag_id) materialized on every list request.

get_authorized_dag_ids_select lets a manager return a select instead, which
the permitted-dag filters apply as a subquery. Returning None, the default,
keeps the existing behaviour, and every permitted-* filter inherits it because
they all build the clause with in_().

Signed-off-by: 1fanwang <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/31298604363

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to