Context
The sequential Bun corpus frontier is now at js/sql/sqlite-url-parsing.test.ts (position 3945/4708), immediately after the 231-test SQLite SQL suite landed in 877769f7ba383b48c548271896286704bc3d95ae.
Tracks the focused follow-up to #205 and contributes to #66.
Current gaps
- Empty
file://paths normalize to:memory:but Bun expects/. - Odd or invalid SQLite paths can reach native
createDirPathand emit anunexpected errno: 45stack instead of a stable SQL-facing error. - Protocol/path combinations need consistent preservation of percent-encoded and platform-specific forms.
Acceptance criteria
js/sql/sqlite-url-parsing.test.tspasses completely in the Home Bun corpus runner.sqlite:,sqlite://,file:, andfile://path forms match Bun's normalization contracts.- Invalid/uncreatable paths produce deterministic user-facing errors without leaking native errno stacks.
- Existing SQLite SQL and SQL adapter permanent gates remain green.
- Add this file to the permanent SQL gate with its exact pass count.