The GitHub Actions job "Tests (AMD)" on 
airflow.git/forbid-underscore-in-team-names has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
88d551a51d21252eee5251e679e7f69fdc1cd49e / Jarek Potiuk <[email protected]>
Require team names to be lower case with no doubled underscores

A team name is embedded in the AIRFLOW_CONN__<TEAM>___<ID> environment variable
namespace that holds team scoped secrets, and the backend upper-cases the name 
when
it builds that variable. Two names differing only in case therefore resolved a 
single
namespace between them, and a name able to contain the ___ separator could not 
be told
apart from it. Restricting what a name may be spelled with is what makes the 
namespace
unambiguous, rather than another check at the point of use.

Stored names are migrated rather than left to rot: db migrate lower-cases them 
and
carries each team's Dag bundles, Connections, Variables, Pools and Triggers 
across.
Two stored names that fold together would silently merge two teams, and nothing 
can
choose which survives, so that case is refused before the migration starts.

closes: #70886

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

With regards,
GitHub Actions via GitBox


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

Reply via email to