Skip to content

Use namespaces for IndexedDB persistence#228

Merged
han4wluc merged 1 commit intomainfrom
codex/namespace-indexeddb-persistence
Apr 9, 2026
Merged

Use namespaces for IndexedDB persistence#228
han4wluc merged 1 commit intomainfrom
codex/namespace-indexeddb-persistence

Conversation

@han4wluc
Copy link
Copy Markdown
Contributor

@han4wluc han4wluc commented Apr 9, 2026

Summary

  • replace browser localStorage persistence with an IndexedDB adapter
  • require a per-VN namespace for hydration and engine.init(...) so multiple VNs on one domain do not overwrite each other
  • update the VT bootstrap and docs, and add persistence coverage for namespace isolation

Testing

  • bun run vitest run spec/indexedDbPersistence.test.js spec/createEffectsHandler.routeGraphicsEvents.test.js spec/projectDataSchema.test.js spec/RouteEngine.lineCompletion.test.js spec/RouteEngine.rollbackRenderState.test.js
  • bun run build
  • bun run vt:generate
  • Chromium VT verification for candidate/save/basic and candidate/save/dynamic-slot-selector-test

@han4wluc han4wluc merged commit 50c4c57 into main Apr 9, 2026
1 check 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