The GitHub Actions job "Tests (AMD)" on airflow.git/fix-arg-not-set-deserialization-date-fields has failed. Run started by GitHub user hwang-cadent (triggered by hwang-cadent).
Head commit for run: e8401255a987cb0a3b3b2ef2928e5d1c989d6608 / hwang-cadent <[email protected]> Address review: hoist ARG_NOT_SET handling, add round-trip test, newsfragment Per review feedback from @potiuk: * Hoist the ARG_NOT_SET check above the field-name dispatch in ``OperatorSerialization._deserialize_field_value`` so the behavior is symmetric with how the serializer emits ARG_NOT_SET (a generic encoding, not tied to any field type). Previously the fix was scoped only to ``*_date`` fields, which would silently leave the raw encoding dict on any future non-date field that uses ``NOTSET`` as a default. * Replace the ``for`` loop in the unit test with ``@pytest.mark.parametrize`` and extend the parameter set to a non-date field so a failure shows the offending case in pytest output and so the test pins the type-agnostic behavior. * Add ``test_serialize_deserialize_trigger_dag_run_with_notset_logical_date``, a round-trip test that serializes ``TriggerDagRunOperator(logical_date=NOTSET)`` through ``DagSerialization`` and asserts the deserialized task carries the ``NOTSET`` singleton. This pins the symmetry between the serializer and deserializer (the original test only proved the deserialize half). * Add ``66564.bugfix.rst`` newsfragment describing the user-visible bug and the fix. Report URL: https://github.com/apache/airflow/actions/runs/25683829084 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
