Skip to content

Conversation

@o-nikolas
Copy link
Contributor

@o-nikolas o-nikolas commented Oct 23, 2025

Bundle path is already plumbed down to the dag bag for parsing, also pass along the bundle name which is used to lookup the bundle config and find the team name from bundle configuration.
This is used to verify that tasks/dags are using executors that are available/configured for their team.

Screenshot from 2025-10-21 16-59-28

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Bundle path is already plumbed down to the dag bag for parsing, also
pass along the bundle name which is used to lookup the bundle config and
find the team name from bundle configuration.
This is used to verify that tasks/dags are using executors that are
available/configured for their team.
@boring-cyborg boring-cyborg bot added area:CLI area:DAG-processing area:Executors-core LocalExecutor & SequentialExecutor labels Oct 23, 2025
@o-nikolas
Copy link
Contributor Author

This one should now be ready for review @vincbeck and @jedcunningham

@o-nikolas o-nikolas requested review from potiuk and vincbeck October 24, 2025 22:30
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@o-nikolas o-nikolas merged commit d43756c into apache:main Oct 27, 2025
161 of 162 checks passed
@o-nikolas o-nikolas deleted the onikolas/dag_bag_team_executor_verification branch October 27, 2025 18:07
o-nikolas added a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 31, 2025
Providing the bundle name is critical for verification of team/executor
verification. This construction of DagBag was missed in apache#57166
o-nikolas added a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 31, 2025
Providing the bundle name is critical for verification of team/executor
verification. This construction of DagBag was missed in apache#57166
o-nikolas added a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 31, 2025
Providing the bundle name is critical for verification of team/executor
verification. This construction of DagBag was missed in apache#57166
o-nikolas added a commit that referenced this pull request Nov 4, 2025
* Add bundle_name to DagBag during execution time parse()

Providing the bundle name is critical for verification of team/executor
verification. This construction of DagBag was missed in #57166
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants