Skip to content

Discount CI image-build time from duration-trend alerts#69789

Open
potiuk wants to merge 1 commit into
apache:mainfrom
potiuk:ci-duration-alert-discount-image-build
Open

Discount CI image-build time from duration-trend alerts#69789
potiuk wants to merge 1 commit into
apache:mainfrom
potiuk:ci-duration-alert-discount-image-build

Conversation

@potiuk

@potiuk potiuk commented Jul 12, 2026

Copy link
Copy Markdown
Member

The CI duration monitor folded the "Prepare breeze & CI image" step into each
job's total. That step occasionally balloons on a one-off cache miss (a full
image rebuild instead of a cached pull), which repeatedly flagged unrelated
jobs as regressed — e.g. a Non-DB core job reported +190% driven almost
entirely by an 18m image build, while its actual test time was flat.

Image-build time is now excluded from the run and per-job durations used for
the trend, and the image build is watched on its own: it is only reported
when it has stayed slow for more than two days (IMAGE_BUILD_PERSISTENCE_DAYS,
default 2), so a transient rebuild spike no longer produces a false alert.

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

The CI duration monitor folded the "Prepare breeze & CI image" step into
each job's total. That step occasionally balloons on a one-off cache miss
(a full image rebuild instead of a cached pull), which repeatedly flagged
unrelated jobs as regressed — e.g. a Non-DB core job reported +190% driven
almost entirely by an 18m image build, while its actual test time was flat.

Image-build time is now excluded from the run and per-job durations used
for the trend, and the image build is watched on its own: it is only
reported when it has stayed slow for more than two days, so a transient
rebuild spike no longer produces a false alert.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant