Skip to content

[codex] Isolate local learning data by user - #91

Merged
Talljack merged 1 commit into
mainfrom
codex/isolate-library-by-user
Jul 18, 2026
Merged

Talljack merged 1 commit into
mainfrom
codex/isolate-library-by-user

Conversation

@Talljack

Copy link
Copy Markdown
Owner

What changed

  • Use a distinct local Dexie database for each authenticated user and for anonymous sessions.
  • Switch the local database before updating application authentication state.
  • Refresh seeded Library and Favorites data after an account change.
  • Add account-switch regression coverage.

Why

The previous shared local database exposed one browser profile user's Library data to another user and could upload it under the new user's cloud account.

Validation

  • pnpm test (112 files, 734 tests)
  • pnpm typecheck
  • pnpm lint
  • pnpm build
  • Production-browser Library smoke test

@vercel

vercel Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
echo-type Ready Ready Preview, Comment Jul 18, 2026 4:55am

@Talljack
Talljack marked this pull request as ready for review July 18, 2026 04:54
@Talljack
Talljack merged commit bb68713 into main Jul 18, 2026
6 checks passed
@Talljack
Talljack deleted the codex/isolate-library-by-user branch July 18, 2026 04:56

This branch was successfully deployed

1 active deployment
Preview — 0b62ed9f Deployed Jul 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant