Skip to content

Fix TriggerDagRunOperator API errors bypassing retries - #70693

Open
ahmadalguydi wants to merge 1 commit into
apache:mainfrom
ahmadalguydi:codex/trigger-dagrun-error-finalization-70683
Open

Fix TriggerDagRunOperator API errors bypassing retries#70693
ahmadalguydi wants to merge 1 commit into
apache:mainfrom
ahmadalguydi:codex/trigger-dagrun-error-finalization-70683

Conversation

@ahmadalguydi

Copy link
Copy Markdown

Summary

  • route API/runtime errors raised while handling DagRunTriggerException through the normal task-failure path
  • preserve the existing behavior for unrelated exceptions
  • add regression coverage proving a missing target DAG can transition to UP_FOR_RETRY

Validation

  • python -m compileall -q task-sdk/src/airflow/sdk/execution_time/task_runner.py task-sdk/tests/task_sdk/execution_time/test_task_runner.py
  • git diff --check
  • Focused pytest was attempted, but this Windows checkout cannot complete Airflow\x27s provider-dependency bootstrap: the repository script encounters an existing cp1252 decode failure in a provider file. The failure occurs before test collection.

Fixes #70683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TriggerDagRunOperator fails silently on 404 (DAG not found): on_failure_callback skipped and retries dropped

1 participant