abhishekmauryaKsolves opened a new pull request, #74644:
URL: https://github.com/apache/airflow/pull/74644
`LazyDeserializedDAG.owner` only read the top-level `owner` key of each
serialized
task. Mapped operators serialize their owner under `partial_kwargs`, so a
Dag made
only of mapped tasks produced an empty owner and `DagModel.owners` fell
back to the
`default_owner` config ("airflow"). In Dags mixing mapped and non-mapped
tasks, the
mapped tasks' owners were silently dropped.
This falls back to `partial_kwargs["owner"]`, which matches what
`MappedOperator.owner` does on the fully deserialized Dag.
Tests added for a mapped-only Dag and a mixed mapped/non-mapped Dag. Both
fail
without the fix.
closes: #74632
--
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]