Multi-Team: Add teams verify command to validate multi-team configuration - #70947
Draft
SameerMesiah97 wants to merge 6 commits into
Draft
Multi-Team: Add teams verify command to validate multi-team configuration#70947SameerMesiah97 wants to merge 6 commits into
SameerMesiah97 wants to merge 6 commits into
Conversation
added 5 commits
August 2, 2026 19:50
assign tasks without an explicit pool to the team's default pool during DAG parsing. Add unit tests covering pool assignment and team creation, and update the multi-team documentation to describe the new behaviour.
…missing pools for existing teams. Automatically remove the system-managed default team pool during while preserving protection for user-created team pools. Add tests covering reconciliation and cleanup.
…ct config key in test.
Only create missing default team pools during teams sync, improve cleanup during team deletion, and update the documentation and tests.
… in newsfragment.
Adds a new command to validate multi-team configuration consistency. The command checks that every team has its system-managed default pool, that DAG bundles reference existing teams, and that team-owned pools follow the expected naming convention. Any issues are reported together before the command exits with a non-zero status. Added unit tests covering successful verification, disabled multi-team mode, missing default pools, and invalid DAG bundle team references.
SameerMesiah97
force-pushed
the
Multi-Team-Verify-Command
branch
from
August 2, 2026 18:57
89d2d7e to
e1e279a
Compare
Contributor
Author
|
Depends on PR #69768. Do not review this until that is merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This change introduces a new
airflow teams verifyCLI 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 verifycommand 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:
Documentation
Added CLI help text describing the new
teams verifycommand.Backwards Compatibility
This change is additive. Existing behaviour is unchanged unless the new
teams verifycommand is explicitly invoked.Was generative AI tooling used to co-author this PR?
Generated-by: [GPT 5.5] following the guidelines