The GitHub Actions job "Tests (AMD)" on airflow.git/register-nested-xcom-models 
has failed.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
a46c874f21de755d05c9b5586532b6d714efd7b0 / Kaxil Naik <[email protected]>
Register nested Pydantic models for XCom deserialization

The worker-side walk that registers an operator's structured-output
classes (output_type) for XCom deserialization only registered the
top-level type. iter_pydantic_models walked the annotation shape
(Optional/Union/list) but never a model's own fields, so a model nested
inside the declared type -- e.g. SubQuestion reachable via
DecomposedQuestion.sub_questions -- was never allow-listed. A task that
pushed such a nested model to XCom then failed to deserialize it with
'... was not found in allow list for deserialization imports'.

Recurse into a model's fields so every reachable model is yielded and
registered. The existing seen set makes self-referential and mutually
recursive model graphs terminate.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to