Skip to content

fix(api): tolerate redis cache failures#41

Merged
Vann-Dev merged 1 commit into
mainfrom
kaito/fix-login-redis-cache
May 13, 2026
Merged

fix(api): tolerate redis cache failures#41
Vann-Dev merged 1 commit into
mainfrom
kaito/fix-login-redis-cache

Conversation

@Vann-Dev
Copy link
Copy Markdown
Owner

Summary\n- Make Redis dashboard cache operations fail open for get/set/version/invalidation paths\n- Prevent cache read/write/invalidation outages from aborting auth audit logging before session cookies are set\n- Keep cache keys/values free of auth cookies or raw secrets\n\n## Tests\n- corepack pnpm --filter @agentbridge/web lint\n- corepack pnpm --filter @agentbridge/web typecheck\n\n## Notes\nRoot cause: Redis cache helpers introduced in dashboard read caching could throw from cache/version/invalidation operations. Login success writes audit logs before creating the session cookie, and audit logging invalidates company cache; a Redis outage/misconfiguration there aborts the login Server Action before createSession().

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-bridge-web Ready Ready Preview, Comment May 13, 2026 4:28pm

@Vann-Dev Vann-Dev merged commit 20eae17 into main May 13, 2026
2 checks passed
@Vann-Dev Vann-Dev deleted the kaito/fix-login-redis-cache branch May 13, 2026 16:45
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.

1 participant