chore: Add prefix for Redis keys#120
Conversation
* add prefix namespace to be used in keys
PR Review: Add prefix for Redis keysThanks for this! The change is small, focused, and does exactly what the description says. Extracting 🔴 Backward compatibility / data migration (main concern)This is the one thing I'd want confirmed before merge. Adding the prefix changes the key format, so any secret already stored in Redis under the old un-prefixed key becomes unreachable. The impact chain is subtle but user-visible:
If this only targets the staging cluster (as the description suggests) and there's no production data to preserve, this may be perfectly acceptable — but it's worth a conscious decision. Options if migration matters:
🟡 Minor
✅ Security / performanceNo concerns — the prefix is a constant, no extra allocations of note, and no sensitive data is exposed by the key format itself. Overall LGTM once the migration / existing-key behavior is confirmed as intended for the target environment. |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764The PR Description
What's new in this PR?
Issues
Redis/Valkey in staging cluster can only access keys from specific namespace
Solutions
Add a prefix with namespace naming