Skip to content

Remove redis-namespace gem#7971

Merged
mitchellhenke merged 0 commit intomainfrom
mitchellhenke/remove-redis-namespace
Mar 13, 2023
Merged

Remove redis-namespace gem#7971
mitchellhenke merged 0 commit intomainfrom
mitchellhenke/remove-redis-namespace

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

We've been blocked on merging #7776 because of our usage of redis-namespace. We could consider forking and using the patch mentioned the pull request, but the functionality of the gem is straightforward enough to replace and gives us the opportunity to drop a dependency.

@mitchellhenke mitchellhenke requested review from a team and zachmargolis March 10, 2023 21:34
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/remove-redis-namespace branch from 655a721 to ae3bcb1 Compare March 10, 2023 21:37
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/remove-redis-namespace branch 2 times, most recently from 9185e32 to b96b9d7 Compare March 10, 2023 21:49
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks deceptively straightforward. Either we missed something, or our app is very well-factored and I choose to believe the latter.

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/remove-redis-namespace branch from b96b9d7 to d316fd1 Compare March 11, 2023 17:42
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I ran this to help me find more places to spot check for redis commands we might need to prefix:

git grep -l -i redis -- app lib

Looks like we already got these two as part of the previous REDIS_POOL PR so I think we're good now:
https://github.com/18F/identity-idp/blob/a561529a6b722d7c2faa2196c1293601333e68b6/app/services/service_provider_request_proxy.rb#L6
https://github.com/18F/identity-idp/blob/a561529a6b722d7c2faa2196c1293601333e68b6/app/services/encrypted_redis_struct_storage.rb#L64

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/remove-redis-namespace branch from c57e1cf to 4a85c89 Compare March 13, 2023 18:00
@mitchellhenke mitchellhenke merged this pull request into main Mar 13, 2023
@mitchellhenke mitchellhenke deleted the mitchellhenke/remove-redis-namespace branch March 13, 2023 18:56
mitchellhenke pushed a commit that referenced this pull request Mar 14, 2023
changelog: Internal, Redis, Remove redis-namespace gem
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