SameerMesiah97 opened a new pull request, #70947: URL: https://github.com/apache/airflow/pull/70947
**Description** This change introduces a new `airflow teams verify` CLI command for validating the consistency of multi-team deployments. The command performs a series of integrity checks over the multi-team configuration, including verifying that every team has its system-managed default pool, that configured DAG bundles reference existing teams, and that team-managed pools follow the expected naming convention. All detected issues are reported in a single run before the command exits with a non-zero status. **Rationale** As multi-team support expands, it becomes increasingly important to detect configuration drift before it results in scheduling or operational issues. The `teams verify` command provides administrators with a simple way to validate that the database and DAG bundle configuration remain consistent. Reporting all detected issues in a single run makes it suitable for operational checks, troubleshooting, and CI/CD validation. **Tests** Added unit tests verifying that: * Verification succeeds for a valid multi-team configuration. * Verification exits successfully when multi-team mode is disabled. * Missing team default pools are detected and reported. * DAG bundles referencing unknown teams are detected and reported. **Documentation** Added CLI help text describing the new `teams verify` command. **Backwards Compatibility** This change is additive. Existing behaviour is unchanged unless the new `teams verify` command is explicitly invoked. ###### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: [GPT 5.5] following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
