Skip to content

perf(api): cache dashboard reads with Redis - #38

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

Vann-Dev merged 1 commit into
mainfrom
kaito/redis-api-cache

Conversation

@Vann-Dev

Copy link
Copy Markdown
Owner

Summary

  • add an optional Upstash Redis cache abstraction with no-op behavior when Redis env vars are missing
  • cache safe internal dashboard reads: summary, brief, projects list, project board detail, agents list, and notes
  • tenant-scope cache keys with user/company/project ids plus version counters, and invalidate versions from audit/mutation/read-marker paths
  • document optional Redis env vars in .env.example and README

Tests

  • PASS: git diff --check
  • PASS: corepack pnpm lint
  • PASS: DATABASE_URL=postgresql://user:pass@localhost:5432/db?schema=public AUTH_SECRET=placeholder corepack pnpm typecheck
  • PARTIAL/INFRA: DATABASE_URL=postgresql://user:pass@localhost:5432/db?schema=public AUTH_SECRET=placeholder corepack pnpm build compiled and generated pages, then worker was SIGKILLed during final build trace collection after existing middleware/jose Edge warnings

@vercel

vercel Bot commented May 13, 2026 •

Copy link
Copy Markdown

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 11:35am

@Vann-Dev
Vann-Dev merged commit 4cc4655 into main May 13, 2026
3 checks passed
@Vann-Dev
Vann-Dev deleted the kaito/redis-api-cache branch May 13, 2026 12:31

This branch was successfully deployed

1 active deployment
Preview — 74682c08 Deployed May 13, 2026 by vercel[bot]
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