github-actions[bot] opened a new pull request, #69332:
URL: https://github.com/apache/airflow/pull/69332

   The duration monitor flagged jobs by comparing a single nightly canary run
   against the median of the preceding runs, so any one slow run — slow PyPI,
   runner queue pressure, a cold cache — tripped the alert. Because a different
   run was "latest" each day, a different set of jobs was flagged each day, and
   network-bound constraint-resolution jobs that legitimately swing tens of
   minutes dominated nearly every alert. The result was a near-daily alert whose
   contents swung wildly and carried little signal.
   
   Compare the median of the last few nightly runs against the baseline so the
   two sides are symmetric and one unlucky run no longer trips it, and require a
   larger absolute jump before flagging individual jobs.
   
   Pin the monitor to successful (green) canary runs only. A failed or cancelled
   canary stops partway, so its truncated wall-clock and per-job durations would
   skew the baseline downwards and mask real regressions. The script already
   defaults to this, but the guarantee is now explicit at the call site so it
   cannot be silently changed.
   (cherry picked from commit e99daee1c154b77d807f45c0e3b00a6660980238)
   
   Co-authored-by: Jarek Potiuk <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to