Skip to content

Move Journal storage loading to a Web Worker - #1321

Closed
c-bata wants to merge 2 commits into
optuna:mainfrom
c-bata:journal-worker
Closed

Move Journal storage loading to a Web Worker#1321
c-bata wants to merge 2 commits into
optuna:mainfrom
c-bata:journal-worker

Conversation

@c-bata

@c-bata c-bata commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a request/response protocol and StorageWorkerClient for storage workers.
  • Move Journal parsing and replay into a self-contained Worker bundle.
  • Use the same Worker source from the standalone app and VS Code Webview.
  • Transfer storage file buffers and clean up workers on close or unmount.
  • Keep SQLite loading on the UI thread for this step.

Scope

This PR focuses on the Journal backend Worker migration. SQLite Worker migration, OPFS, and the SQLite wasm spike are intentionally left for follow-up work.

@c-bata
c-bata marked this pull request as draft August 12, 2026 15:26
@c-bata c-bata closed this Aug 14, 2026
@c-bata
c-bata marked this pull request as ready for review August 14, 2026 02:12
@c-bata
c-bata deleted the journal-worker branch August 14, 2026 02:12
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