The GitHub Actions job "Tests (ARM)" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
db04a4ef8c2042c0e770e23749b66e2525c39569 / Kaxil Naik <[email protected]>
Fix older and custom secrets backends breaking on Airflow 3.2 (#68302)

Airflow 3.2 (AIP-67 multi-team) added a `team_name` keyword to the
secrets backend API. BaseSecretsBackend.get_connection() forwarded it
to get_conn_value() unconditionally, and the core get_*_from_secrets()
call sites passed it straight to get_connection()/get_variable(). Any
backend whose override predates the keyword (the old (self, conn_id) /
(self, key) signature) raised TypeError on every lookup, which the
backend-iteration loop swallowed as "not found", so connections and
variables silently failed to resolve after upgrading to 3.2.

Route those calls through a helper that introspects the override and
forwards team_name only when it is accepted (a team_name parameter or
**kwargs), omitting it for pre-3.2 signatures so older bundled providers
and custom backends keep working -- in both single-team and multi-team
deployments -- without being forced to add the parameter. A TypeError
from inside an accepting backend is left to propagate, not retried
without team_name, so a team-scoped lookup is never silently resolved
against the global scope. Applied to the get_conn_value forward in the
base class and to the Connection/Variable get_*_from_secrets call sites,
which also covers backends overriding get_connection/get_variable
directly (e.g. Vault).

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

With regards,
GitHub Actions via GitBox


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

Reply via email to