Repository navigation
Quote the read-only SQLite URI (v0.2.1) - #4
Merged
Merged
Conversation
read_index_tables built file:{as_posix()}?mode=ro, which leaves '#' and '?'
unquoted. A folder such as "case #1" ended the URI at the '#', and SQLite
opened, and created, a different file, so the index tables read as absent.
The path is now percent-quoted. On Windows a UNC path keeps an empty
authority, which SQLite requires, rather than going through Path.as_uri().
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Quotes the read-only SQLite URI so a "#" or "?" in a path is read as part of it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The frozen-build smoke test imports test_rejoin.py without pytest installed, so the tests that need pytest live in tests/test_index_uri.py. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 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.
read_index_tables built its read-only URI without quoting the path, so a folder like "case #1" cut it at the '#' and SQLite opened (and created) a different file.
tests/test_index_uri.py) reads an index table from a folder namedcase #1?x(case #1 %3Fon Windows, which forbids '?'). It fails on the old code. A Windows-only test opens one through\\localhost\C$.🤖 Generated with Claude Code