The GitHub Actions job "Tests (AMD)" on airflow.git/main has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
fbd24b5720bf70c14acd286e4e914f4e5eb78888 / Kaxil Naik <[email protected]>
Register nested Pydantic models for XCom deserialization (#67932)

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/26895192128

With regards,
GitHub Actions via GitBox


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

Reply via email to