The GitHub Actions job "Tests (AMD)" on 
airflow.git/apply-rerun-with-latest-version-to-trigger-dagrun-resets has failed.
Run started by GitHub user nathadfield (triggered by nathadfield).

Head commit for run:
c17c7d61224f2eb7c46e95d49368e70a69fb04a4 / Nathan Hadfield 
<[email protected]>
Apply `rerun_with_latest_version` to TriggerDagRunOperator reruns

When `TriggerDagRunOperator(reset_dag_run=True)` is invoked and the
target Dag run already exists, the task SDK falls back to
`client.clear(dag_id, run_id)`, which hits
`POST /execution/dag-runs/{dag_id}/{run_id}/clear`. That endpoint
previously called `dag.clear(run_id=run_id)` with no
`run_on_latest_version`, so the global and DAG-level
`rerun_with_latest_version` config (added in #63884) had no effect on
operator-driven reruns.

The endpoint now resolves the value via the existing
`resolve_run_on_latest_version` hierarchy (explicit > DAG-level >
global config > fallback) and forwards it to `dag.clear()` — matching
the behavior already in place for UI, public API, and CLI clears.

closes: #60880

Report URL: https://github.com/apache/airflow/actions/runs/26230816761

With regards,
GitHub Actions via GitBox


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

Reply via email to