The GitHub Actions job "Tests" on airflow.git/fix/issue-63503 has failed.
Run started by GitHub user YoannAbriel (triggered by YoannAbriel).

Head commit for run:
0752d81b56a721435b588df11d1fb969de57ea09 / Yoann Abriel <[email protected]>
fix(metrics): emit queued_duration metric in execution API ti_run endpoint

The task.queued_duration metric was not being emitted when tasks
transitioned from QUEUED to RUNNING via the execution API (used by
the task SDK in Airflow 3). The metric was only emitted in the legacy
TaskInstance._run_raw_task path.

Add queued_dttm, end_date, and queue to the ti_run select query and
emit the metric after the state update, matching the behavior in
TaskInstance.emit_state_change_metric.

Closes: #63503

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

With regards,
GitHub Actions via GitBox


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

Reply via email to