Fix OpenLineage team_name access and other failing paths - #70626
Merged
Conversation
kacpermuda
force-pushed
the
fix-ol-team-name-and-other
branch
2 times, most recently
from
July 29, 2026 13:17
47db132 to
5929d2e
Compare
kacpermuda
force-pushed
the
fix-ol-team-name-and-other
branch
from
July 29, 2026 14:01
5929d2e to
ae56132
Compare
1 task
mobuchowski
approved these changes
Jul 29, 2026
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.
Fixes a set of paths in the OpenLineage listener where a single failing detail discards an entire event, or escapes into the caller.
The headline is the team_name attr accessed with DagBundleModel, that was trying to access the DB from the worker. Now it short-circuits to the team_name in DagRun model, that is forwarded to workers.
team_namereads the Execution API value on workersmulti_teamis onBaseException(e.g. SIGINT to the process group) unwound the child back into the task runner, where it kept running as a second one sharing the supervisor connectionbefore_stoppingdetaches the pool and guards its timeoutAirflowTaskTimeout(aBaseException) straight past the caller'sexcept Exceptionbefore_stoppingno longer creates a pool to tear downProcessPoolExecutorat the end of every task purely to shut it downsubmit_callablecatchesRuntimeErrorBrokenProcessPoolsubclasses it, so this also covers post-shutdown submissionsget_airflow_state_run_facetguards its DB querydag_version_infousessafe_getattrDagVersioncolumns could raise on a detached sessionWas generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5) following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.