The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/dagrun-deadlocked-metric has failed.
Run started by GitHub user 1fanwang (triggered by 1fanwang).

Head commit for run:
edd15a83e0f9bc4a57e4232b6ecb65223adf2f06 / 1fanwang <[email protected]>
feat(metrics): emit dagrun.deadlocked counter on task-deadlock detection

`DagRun.update_state` already detects the 
all-tasks-unfinished-but-none-schedulable
case, logs an error, and notifies state-changed. Add a `dagrun.deadlocked` Stats
counter at the same call site, tagged with `dag_id` and `run_type`, so existing
statsd / OTel pipelines can chart deadlock rate without scraping logs.

Register the metric in the observability template and add a focused unit test
that mocks `stats.incr` and asserts emission when the deadlock branch fires.

Closes #66818

Signed-off-by: 1fanwang <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to