The GitHub Actions job "Tests (AMD)" on 
airflow.git/import-errors-all-permission-unregistered-files has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
c30e1cf475e7fb313976412782198364dca20eb5 / Jarek Potiuk <[email protected]>
Degrade gracefully for auth managers without team-aware is_authorized_view

Folding team_name into is_authorized_view made it a hard breaking change: an
out-of-tree auth manager, or a provider released before the argument existed,
keeps the old (access_view, user) signature and would raise TypeError the first
time core authorized a team-scoped view -- a runtime 500 with no import- or
startup-time signal.

Route team-scoped authorization through a new BaseAuthManager.authorize_view,
which detects (once, cached) whether the manager's override accepts team_name.
A legacy manager is called without it and keeps working; team scoping is ignored
so the view is authorized globally -- exactly what a manager with no multi-team
support does anyway -- and a RemovedInAirflow4Warning tells the operator that
some views (e.g. import errors for files with no registered Dag) are visible
across teams until the auth manager is upgraded. The public interface stays a
single is_authorized_view; the fallback is removed in Airflow 4.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to