Skip to content

Conversation

@christaikobo
Copy link
Contributor

Redis does ACL using key and channel prefixes, if multiple apps and services were to use the same Redis instance as cache, the only way to enforce some kind of isolation and permission control between these apps and services is to set appropriate prefixes in them and control the permission in Redis.

This PR introduces a environmental variable REDIS_PREFIX, and adds corresponding prefixes for Django, Celery and Yamtrack's own session keys and channels.

@codecov
Copy link

codecov bot commented Aug 24, 2025

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.22%. Comparing base (28a9a93) to head (943dd6b).
⚠️ Report is 114 commits behind head on dev.

Files with missing lines Patch % Lines
src/config/settings.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #834   +/-   ##
=======================================
  Coverage   83.22%   83.22%           
=======================================
  Files          69       69           
  Lines        6832     6838    +6     
=======================================
+ Hits         5686     5691    +5     
- Misses       1146     1147    +1     

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

@FuzzyGrim FuzzyGrim merged commit ec85a26 into FuzzyGrim:dev Nov 15, 2025
8 checks passed
@FuzzyGrim
Copy link
Owner

Thanks for the PR!

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.

2 participants