Skip to content

[backend] remove LRU session cache in redis session store (#13855)#15362

Open
JeremyCloarec wants to merge 1 commit intomasterfrom
issue/13855
Open

[backend] remove LRU session cache in redis session store (#13855)#15362
JeremyCloarec wants to merge 1 commit intomasterfrom
issue/13855

Conversation

@JeremyCloarec
Copy link
Copy Markdown
Contributor

@JeremyCloarec JeremyCloarec commented Apr 3, 2026

Proposed changes

  • remove LRU session cache in redis session store to prevent in memory session temporary desync

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

@JeremyCloarec JeremyCloarec added the do not merge Do not merge this PR until this tag will be removed label Apr 3, 2026
@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Apr 3, 2026
@JeremyCloarec JeremyCloarec marked this pull request as ready for review April 3, 2026 08:30
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.12%. Comparing base (b7ced05) to head (9db3094).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...opencti-graphql/src/database/sessionStore-redis.js 0.00% 8 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #15362   +/-   ##
=======================================
  Coverage   33.12%   33.12%           
=======================================
  Files        3155     3155           
  Lines      214056   214047    -9     
  Branches    39111    39111           
=======================================
- Hits        70904    70903    -1     
+ Misses     143152   143144    -8     
Flag Coverage Δ
opencti-client-python 45.59% <ø> (ø)
opencti-front 2.87% <ø> (ø)
opencti-graphql 69.09% <0.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Do not merge this PR until this tag will be removed filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"otpValidated" user status is not persisted across opencti-graphql instances

1 participant