The GitHub Actions job "Tests (AMD)" on airflow.git/task-sdk/feature/base-task-instance-dto has failed. Run started by GitHub user uranusjr (triggered by uranusjr).
Head commit for run: 2e4d4574e659fb224d7d0eecd347b0b9f4ac0b37 / LIU ZHE YOU <[email protected]> Introduce BaseTaskInstanceDTO and duplicate it across core and task-sdk Extract the executor/Task-SDK common fields of ``TaskInstanceDTO`` into ``BaseTaskInstanceDTO`` so the same minimal schema can be defined in both: - ``airflow-core/src/airflow/executors/workloads/task.py`` - ``task-sdk/src/airflow/sdk/execution_time/workloads/task.py`` The classes are intentionally duplicated rather than shared, because the core ``TaskInstanceDTO`` subclass needs the executor-specific ``external_executor_id`` field and a ``key`` property that depends on ``airflow.models.taskinstancekey``, which the Task SDK distribution cannot import. A new prek hook ``check-task-instance-dto-sync`` AST-compares the bases and annotated fields of ``BaseTaskInstanceDTO`` in both files and fails when they drift, so the duplication stays in sync. The hook runs only when either ``task.py`` changes. Report URL: https://github.com/apache/airflow/actions/runs/26097099424 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
