You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "8silvergun (via GitHub)" <gi...@apache.org> on 2026/10/13 09:32:11 UTC
[PR] Include mapped task owners in Dag owners [airflow]
8silvergun opened a new pull request, #74635:
URL: https://github.com/apache/airflow/pull/74635
A Dag whose tasks are all dynamically mapped was listed with owner `airflow`, whatever owner was set through `default_args` or `.partial(owner=...)`.
`LazyDeserializedDAG.owner` feeds `DagModel.owners` in the Dag processor. It read only the top-level `owner` key of each serialized task. A mapped operator stores its owner under `partial_kwargs`, so its owner was dropped and `DagModel.owners` fell back to `[operators] default_owner`. In Dags that mix mapped and unmapped tasks, the mapped owners were dropped silently. The fully deserialized mapped operator already reads `partial_kwargs`, so the two code paths disagreed for the same serialized Dag.
closes: #74632
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 5.5)
Generated-by: Claude Code (Opus 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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Include mapped task owners in Dag owners [airflow]
Posted by "8silvergun (via GitHub)" <gi...@apache.org>.
8silvergun commented on PR #74635:
URL: https://github.com/apache/airflow/pull/74635#issuecomment-6311743266
Hi maintainers, could you please review #74635 when you have a chance?
The DAG processing, serialization, and core database tests passed. The remaining CI failure was in Python 3.11 constraints generation.
The resolver required `apache-airflow-providers-ibm-db2>=0.1.0`, but only `0.1.0rc1` was available, making the dependency set unsatisfiable.
Failing job: https://github.com/apache/airflow/actions/runs/38377019983/job/115237896445
This appears unrelated to the mapped-task owner fix. Could someone confirm whether this is an upstream dependency issue and rerun the failing check if appropriate?
I'm happy to address any feedback on the PR itself.
Thank you!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org