Skip to content

Fix cache lifetimes for auth and demo data#78

Merged
suguanYang merged 2 commits into
stagingfrom
feat/wangbinqi/error-logging
May 14, 2026
Merged

Fix cache lifetimes for auth and demo data#78
suguanYang merged 2 commits into
stagingfrom
feat/wangbinqi/error-logging

Conversation

@suguanYang
Copy link
Copy Markdown
Contributor

Summary

  • remove server caching from current-user auth checks so revoked sessions and transient anonymous states are not reused
  • derive Dashboard JWT cache lifetime from expiresInSeconds and refresh before token expiration
  • switch demo catalog and chunk caches to the max profile for deploy-driven freshness

Tests

  • pnpm test
  • pnpm typecheck
  • pnpm lint

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

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

Project Deployment Actions Updated (UTC)
knowhere-notebook-staging Ready Ready Preview, Comment May 14, 2026 1:25pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
knowhere-notebook Ignored Ignored May 14, 2026 1:25pm

Request Review

@suguanYang suguanYang merged commit 4823df2 into staging May 14, 2026
7 checks passed
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