Skip to content

Conversation

@aliu39
Copy link
Member

@aliu39 aliu39 commented Sep 14, 2025

Rewrite tests to not do excessive setup (currently saving 15+ feedbacks for every test). 5x speedup locally, from 71s -> 13.8s.

Does the same for test_feedback_query (renamed to label_query). Speedup is negligible here, like 13->9s, but it's still good to update the convention

Relates to REPLAY-698: Improve backend test suite runtime

@aliu39 aliu39 requested a review from a team as a code owner September 14, 2025 06:57
@linear
Copy link

linear bot commented Sep 14, 2025

@codecov
Copy link

codecov bot commented Sep 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #99451      +/-   ##
==========================================
- Coverage   81.32%   81.21%   -0.11%     
==========================================
  Files        8590     8584       -6     
  Lines      382261   380141    -2120     
  Branches    24106    24106              
==========================================
- Hits       310864   308735    -2129     
- Misses      71051    71060       +9     
  Partials      346      346              

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 14, 2025
@aliu39 aliu39 merged commit d251568 into master Sep 15, 2025
64 checks passed
@aliu39 aliu39 deleted the aliu/categ-test branch September 15, 2025 16:57
@sentry
Copy link

sentry bot commented Sep 18, 2025

Issues attributed to commits in this pull request

This pull request was merged and Sentry observed the following issues:

@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants