Skip to content

Fix auth for state databases over 2 GiB - #13

Merged
CodyKoInABox merged 2 commits into
mainfrom
fix/large-state-database
Aug 26, 2026
Merged

Fix auth for state databases over 2 GiB#13
CodyKoInABox merged 2 commits into
mainfrom
fix/large-state-database

Conversation

@CodyKoInABox

Copy link
Copy Markdown
Owner

Summary

  • replace the full-file sql.js copy with a filesystem-backed WASM SQLite reader
  • add a regression test that queries a sparse state.vscdb larger than 2 GiB
  • bump the extension to 0.3.1, update the changelog, and include the new WASM asset in the VSIX

Closes #12

Test plan

  • npm ci
  • npm run check
  • npm test (25 tests)
  • npm run package

CodyKoInABox and others added 2 commits August 26, 2026 15:59
Query Cursor state through a filesystem-backed WASM driver so large databases are not copied into memory. Prepare the 0.3.1 patch release and cover the regression.

Co-authored-by: Cursor <cursoragent@cursor.com>
Regenerate the lockfile without installed modules so Linux CI receives every optional esbuild package required by Vitest.

Co-authored-by: Cursor <cursoragent@cursor.com>
@CodyKoInABox
CodyKoInABox merged commit 60f3927 into main Aug 26, 2026
4 checks passed
@CodyKoInABox
CodyKoInABox deleted the fix/large-state-database branch August 26, 2026 19:10
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.

Could not read Cursor session from local DB: File size (2352934912) is greater than 2 GiB

1 participant