Skip to content

Conversation

@ashb
Copy link
Member

@ashb ashb commented Dec 19, 2024

It turns out this behaviour wasn't adequetely tested, at least not using
serialized DAGs, and broke as a result of #44972

This test fixes this case, and adds/moves some of the tests from
models/test_dag.py into test_collection which more accurately represents where
the code it is testing now lives.


^ 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 newsfragments.

It turns out this behaviour wasn't adequetely tested, at least not using
serialized DAGs

This test fixes this case, and adds/moves some of the tests from
models/test_dag.py into test_collection which more accurately represents where
the code it is testing now lives.
@boring-cyborg boring-cyborg bot added area:Scheduler including HA (high availability) scheduler area:serialization labels Dec 19, 2024
@ashb ashb merged commit de5fb66 into main Dec 19, 2024
49 checks passed
@jedcunningham jedcunningham deleted the sdk-dag-parsing-owner branch December 19, 2024 22:35
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
…he#45094)

* Correctly set `owners` on DagModel after TaskSDK parsing change

It turns out this behaviour wasn't adequetely tested, at least not using
serialized DAGs

This test fixes this case, and adds/moves some of the tests from
models/test_dag.py into test_collection which more accurately represents where
the code it is testing now lives.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler area:serialization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants