Repository navigation
Add @pegma/cache-elasticache (Cache Core Phase 4) - #4
Merged
Merged
Conversation
Phase 4 lands a CacheStore adapter for Amazon ElastiCache by composing createRedisCacheStore. ElastiCache speaks Redis, so this package does not wrap a data-plane AWS SDK. Cluster hash-tag colocation is proven: tagged wire keys share a Redis Cluster slot. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 03f6e0e39c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The standalone ioredis client cannot follow MOVED redirects from a cluster-mode configuration endpoint. Hash-tag formatting stays in the adapter; the host must inject Redis.Cluster for that endpoint. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 4 only: a thin Amazon ElastiCache adapter over the Phase 1
CacheStoreport.What landed
@pegma/cache-elasticache(packages/cache-elasticache)@pegma/cache-redis(createRedisCacheStore) — ElastiCache speaks Redis, so this is not a second store and does not wrap a data-plane AWS SDKCacheStoreformatCacheKeyembeds{tag}, tagged wire keys share a Redis Cluster slot, and akeyPrefixwith braces is rejected so it cannot steal the tagpnpm run test:elasticache)0.1.0)Named future hosts: RetireGolden.org and Exsimplify. No Upstash package.
How to verify
pnpm run format:check pnpm run check pnpm test pnpm run test:redis pnpm run test:azure-redis pnpm run test:elasticacheDo not merge, publish, or tag from this PR.