Skip to content

Enforce pointsSaved#2502

Merged
jmthomas merged 3 commits intomainfrom
grapher_saved
Nov 5, 2025
Merged

Enforce pointsSaved#2502
jmthomas merged 3 commits intomainfrom
grapher_saved

Conversation

@jmthomas
Copy link
Copy Markdown
Member

@jmthomas jmthomas commented Nov 3, 2025

closes #2496

@jmthomas jmthomas requested a review from ryanmelt November 3, 2025 15:41
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.61%. Comparing base (34f3a0b) to head (71e487d).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2502   +/-   ##
=======================================
  Coverage   79.61%   79.61%           
=======================================
  Files         658      658           
  Lines       50457    50456    -1     
  Branches      736      736           
=======================================
  Hits        40170    40170           
+ Misses      10207    10206    -1     
  Partials       80       80           
Flag Coverage Δ
python 81.58% <ø> (+<0.01%) ⬆️
ruby-api 84.49% <ø> (-0.06%) ⬇️
ruby-backend 82.95% <ø> (+<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.

}
}

// Enforce pointsSaved limit - remove oldest data points if exceeded
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This needs hysterisis such that every new sample doesn't require rebuilding the array.
Basically check from setting + 100 data points, and then do the cut back to the limit.

@jmthomas jmthomas merged commit 33d6590 into main Nov 5, 2025
48 of 49 checks passed
@jmthomas jmthomas deleted the grapher_saved branch November 5, 2025 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TlmGrapher not respecting points saved setting

2 participants