The GitHub Actions job "Tests (AMD)" on airflow.git/fix/tasksdk-fail-closed-terminal-state has failed. Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).
Head commit for run: be3187f7c17c865def584b2e5b1fc7cd70e21b1b / vatsrahul1001 <[email protected]> Declare _terminal_state_send_failed on RuntimeTaskInstance for mypy The fail-closed path in _handle_current_task_failure set ti._terminal_state_send_failed = True dynamically without a class-level declaration, so mypy raised [attr-defined]. Add the field as a Pydantic PrivateAttr (bool, default False) matching the existing _cached_template_context pattern. No runtime behavior change — getattr(ti, '_terminal_state_send_failed', False) still returns False for the unset case, now via the PrivateAttr default instead of the getattr fallback. Report URL: https://github.com/apache/airflow/actions/runs/26089983011 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
