refactor(wa-sqlite): initialize the extension after opening - #210
Merged
Conversation
marcus-pousette
force-pushed
the
refactor/wa-sqlite-explicit-init
branch
from
July 12, 2026 16:05
c625b2c to
ad5fa21
Compare
marcus-pousette
force-pushed
the
stack/wa-sqlite-shared-worker-lifecycle
branch
from
July 13, 2026 14:31
ea62da3 to
dc51f82
Compare
marcus-pousette
force-pushed
the
refactor/wa-sqlite-explicit-init
branch
from
July 13, 2026 14:31
ad5fa21 to
dd6635c
Compare
marcus-pousette
force-pushed
the
stack/wa-sqlite-shared-worker-lifecycle
branch
from
July 14, 2026 20:43
dc51f82 to
16ca00c
Compare
marcus-pousette
force-pushed
the
refactor/wa-sqlite-explicit-init
branch
2 times, most recently
from
July 15, 2026 06:45
4ef9ef6 to
7d9878c
Compare
marcus-pousette
force-pushed
the
stack/wa-sqlite-shared-worker-lifecycle
branch
from
July 15, 2026 06:45
16ca00c to
fe1ffde
Compare
marcus-pousette
changed the base branch from
stack/wa-sqlite-shared-worker-lifecycle
to
main
July 15, 2026 07:16
marcus-pousette
force-pushed
the
refactor/wa-sqlite-explicit-init
branch
from
July 15, 2026 07:16
7d9878c to
c3b9927
Compare
This was referenced Jul 15, 2026
marcus-pousette
force-pushed
the
refactor/wa-sqlite-explicit-init
branch
2 times, most recently
from
July 16, 2026 09:52
4401d00 to
1952830
Compare
marcus-pousette
force-pushed
the
refactor/wa-sqlite-explicit-init
branch
from
July 16, 2026 11:30
1952830 to
0a2f290
Compare
Antonov548
approved these changes
Jul 17, 2026
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.
Problem
TreeCRDT ran as a SQLite automatic extension, so OPFS file opening and asynchronous schema initialization shared one
sqlite3_open_v2retry budget. With wa-sqlite 1.1.1, both phases can pause for VFS work and exhaust that shared budget during startup.Change
5bae8bd.This isolates TreeCRDT initialization from
sqlite3_open_v2. Generic failed-open handle cleanup is tracked separately in wa-sqlite #330 and does not block this fix.Merge order
Merge this with a merge commit, then retarget #208 to
main.