Identity agent: Store abstraction with in-memory fallback#11
Identity agent: Store abstraction with in-memory fallback#11
Conversation
Extract Store interface from go-redis direct usage. RedisStore wraps go-redis; InMemoryStore provides fallback when Valkey is unavailable. Pipeline batching via StorePipeline interface. Health endpoint. Auto-detect Valkey availability on startup and fall back gracefully. Closes #5 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Leaving this open intentionally as the architectural reference for the exposure-storage design discussion happening on #68. The Store interface here (
Tagging for resolution alongside #68. |
|
Closing — premise is superseded. PR #75 (merged 2026-04-22) removed the sorted-set primitives ( The in-memory fallback idea is still useful but belongs in a fresh, small PR against the current |
|
Acknowledged — closing rationale noted. The in-memory fallback concept is tracked for a future standalone issue against the current Triaged by Claude Code. Session: https://claude.ai/code/${CLAUDE_CODE_REMOTE_SESSION_ID} Generated by Claude Code |
Summary
Storeinterface abstracting sorted-set, set, and KV operations used by the identity agentRedisStorewraps go-redis withStorePipelinefor batched commandsInMemoryStoreprovides graceful fallback when Valkey is unavailableGET /health) reports store statusCloses #5
Test plan
🤖 Generated with Claude Code