fix(kv-store): exclude @aztec/sqlite3mc-wasm from vitest optimizeDeps#22929
Merged
mverzilli merged 1 commit intoMay 4, 2026
Merged
Conversation
The exclude entry was left as the previous package name (@sqlite.org/sqlite-wasm) when worker.ts and package.json were updated to use @aztec/sqlite3mc-wasm in #22759. With the new package not excluded, vite's dep optimizer crawls into it during browser test setup and trips an ENOENT race on `.vite/vitest/<hash>/deps` (two concurrent crawls under playwright's server+browser dual-context model), causing src/sqlite-opfs/array.test.ts to fail to import the test file. The bug is latent on `next` because the VITE_SQLITE_OPFS=1 gate skips these tests in CI; surfaced on v4-next where the gate doesn't apply. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Thunkar
approved these changes
May 4, 2026
chrismarino
pushed a commit
to chrismarino/aztec-packages
that referenced
this pull request
May 5, 2026
BEGIN_COMMIT_OVERRIDE chore: fix kv-store browser tests hangs (AztecProtocol#22721) feat: kv-store sqlite backend with page level encryption (AztecProtocol#22759) fix: install node 22 for aztec-cli acceptance test (AztecProtocol#22917) fix(kv-store): exclude @aztec/sqlite3mc-wasm from vitest optimizeDeps (AztecProtocol#22929) feat(txe): add tx private logs to tx side effects oracle (AztecProtocol#22889) feat(aztec-nr): add call_self stubs for utility functions (AztecProtocol#22885) END_COMMIT_OVERRIDE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up from #22759, this exclusion is needed for sqlite browser tests to boot properly (already applied on backport)