sentry icon indicating copy to clipboard operation
sentry copied to clipboard

feat(feedback): cache the feedback summary

Open vishnupsatish opened this issue 7 months ago • 2 comments

Hopefully this one doesn't ping the whole company

vishnupsatish avatar Jun 12 '25 17:06 vishnupsatish

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #93461      +/-   ##
==========================================
+ Coverage   88.03%   88.09%   +0.05%     
==========================================
  Files       10335    10324      -11     
  Lines      596828   595765    -1063     
  Branches    23196    22992     -204     
==========================================
- Hits       525432   524852     -580     
+ Misses      70937    70481     -456     
+ Partials      459      432      -27     

codecov[bot] avatar Jun 13 '25 17:06 codecov[bot]

Changed cache key to: projects selected and year, month, day of start and end dates. Also made the cache time out after 1 hour. This is done so that if the same filters are selected, the cache stays the same for at least an hour and wouldn't immediately change if new feedbacks are submitted. Also, the time of the start and end dates are not used since if they were, the cache would become useless.

vishnupsatish avatar Jun 13 '25 17:06 vishnupsatish