The GitHub Actions job "Tests AMD" on airflow.git/backport-672ec99-v3-0-test has failed. Run started by GitHub user jedcunningham (triggered by jedcunningham).
Head commit for run: 5ed715b68d3c5ee989922fa8ebe5b141c4534443 / Kaxil Naik <[email protected]> [v3-0-test] Fix Pydantic ``ForwardRef`` error by reordering discriminated union definitions (#50688) In some rare cases, the DAG parse subprocess (`DagFileProcessorProcess`) could raise a `PydanticUserError` related to unresolved ForwardRefs in the discriminated union ToDagProcessor. This was caused by `TypeAdapter[ToDagProcessor]` being instantiated before `DagFileParseRequest` was defined. While this is not always reproducible, it can happen in forked subprocesses depending on import order. This change moves the union definitions (`ToDagProcessor`, `ToManager`) after the relevant Pydantic models are declared, ensuring all references are fully resolved at definition time. closes https://github.com/apache/airflow/issues/50530 (cherry picked from commit 672ec992634ef09a55db870e14c8e679128db189) Co-authored-by: Kaxil Naik <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/15069758249 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
