Skip to content

fix: invalidate query cache when validUntil invalid #1394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 1, 2025
Merged

Conversation

brobro10000
Copy link
Member

@brobro10000 brobro10000 commented Jun 17, 2025

Invalidates the query cache for the BFF when the Algolia API Key is about to expire within a 60 second threshold. This allows a fresh API key to be retrieved to avoid the validUntil error we are seeing from Algolia.

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)
  • Ensure English strings are marked for translation. See documentation for more details.

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

Copy link

codecov bot commented Jun 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.35%. Comparing base (185af2c) to head (cacc6a8).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1394      +/-   ##
==========================================
+ Coverage   90.30%   90.35%   +0.04%     
==========================================
  Files         419      419              
  Lines        9440     9475      +35     
  Branches     2274     2281       +7     
==========================================
+ Hits         8525     8561      +36     
+ Misses        877      876       -1     
  Partials       38       38              

☔ 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.

@brobro10000 brobro10000 force-pushed the hu/ent-10496 branch 2 times, most recently from d8004a3 to 17b3174 Compare July 1, 2025 14:50
@brobro10000 brobro10000 merged commit 9b33e37 into master Jul 1, 2025
9 checks passed
@brobro10000 brobro10000 deleted the hu/ent-10496 branch July 1, 2025 14:58
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.

3 participants