The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
13e54646f997da0ddbdad154679529c770cafa75 / Ash Berlin-Taylor <[email protected]>
Ensure that you can create a second DAG whilst another one is already "active" 
(#44484)

Why would you want to do this? Who knows, maybe you are calling a dag factory
from inside a `with DAG` block. Either way, this exposed a subtle bug in
`TaskGroup.create_root()`.

This is the other half of the fix for the flakey tests fixed in #44480, and
after much digging with @kaxil and @potiuk we've finally worked out why it was
flakey:

It was the "Non-DB" test job that were faling sometimes, and those tests use
xdist to parallelize the tests. Couple that with the fact that
`get_serialized_fields()` caches the answer on the class object, the test
would only fail when nothing else in the current test process had previously
called `DAG.get_serialized_fields()`.

And to make this less likely to occur in future, the __serialized_fields is
moved to being created eagerly at parse time, no more lazy loaded cache!

Report URL: https://github.com/apache/airflow/actions/runs/12089792300

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to