The GitHub Actions job "Tests (AMD)" on 
airflow.git/bugfix/average-runtime-deadline-success-only has failed.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
336c22872f44e8451e65d52eb5580abc92f89c29 / Sean Ghaeli <[email protected]>
Exclude non-successful runs from AVERAGE_RUNTIME deadline calculation

DeadlineReference.AVERAGE_RUNTIME computes a deadline from the average duration 
of
past DAG runs, but the query filtered only on dag_id + start/end-date present — 
with
no DagRun.state filter. Failed runs (which may have died fast or hung before 
failing)
were folded into the average, skewing the computed deadline: a fast-failing 
history
makes it too short (spurious misses), a slow-then-failed history makes it too 
long
(real slowness never trips it).

Filter the duration query to successful runs only. Add tests asserting failed 
runs
are excluded from the average and that the deadline is skipped when too few
successful runs exist.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to