Skip to content

Conversation

@vdusek
Copy link
Collaborator

@vdusek vdusek commented Jan 30, 2026

The statistics tracking for maximum request duration was incorrectly using min() instead of max(), causing the statistic to always show the minimum duration instead of the maximum.

Co-Authored-By: Claude Opus 4.5 [email protected]

The statistics tracking for maximum request duration was incorrectly
using min() instead of max(), causing the statistic to always show
the minimum duration instead of the maximum.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@vdusek vdusek self-assigned this Jan 30, 2026
@vdusek vdusek added t-tooling Issues with this label are in the ownership of the tooling team. adhoc Ad-hoc unplanned task added during the sprint. labels Jan 30, 2026
@github-actions github-actions bot added this to the 133rd sprint - Tooling team milestone Jan 30, 2026
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.46%. Comparing base (f895b11) to head (e137730).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1701      +/-   ##
==========================================
+ Coverage   92.45%   92.46%   +0.01%     
==========================================
  Files         157      157              
  Lines       10482    10489       +7     
==========================================
+ Hits         9691     9699       +8     
+ Misses        791      790       -1     
Flag Coverage Δ
unit 92.46% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek requested a review from Pijukatel January 30, 2026 13:59
Copy link
Collaborator

@Pijukatel Pijukatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a tiny test for this fix?

Verify that request_max_duration correctly tracks the maximum duration
across multiple requests, ensuring it increases for longer requests
but doesn't decrease when shorter requests are recorded.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Jan 30, 2026
@vdusek vdusek merged commit 85c4335 into master Jan 30, 2026
31 of 32 checks passed
@vdusek vdusek deleted the fix/statistics-max-duration-logic branch January 30, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants