Repository navigation
Windows: a path on another drive is outside the repository, not an error (0.1.11) - #1952
Merged
Merged
Conversation
relpath raises across drives on Windows, so a --library whose compiled IR sits in the user cache on C: while the repository is on D: (as on GitHub's runner) failed the whole index. axiomcode-index and axiomcode-graph read it as outside the repository, as a `..` path is; a link or a changed file given absolutely on another drive is kept as given. no_exec's control starts Git Bash, not a bare `bash` (WSL on GitHub's image). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
October 14, 2026 07:43
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.
Why
#1948's Windows release gate failed in GitHub Actions (run 38516660285,
e2e on win32-x64) on what my Windows VMcould not show: GitHub's runner keeps the repository on
D:and the user cache onC:.relpathraises across drives on Windows, so--library(its compiled IR is in the user cache) failed the whole indexfor any repository off
C:. 0.1.11 is onmainwithout this, so its release push would fail the same gate and draftnothing.
What changes
axiomcode-index,axiomcode-graph: a path on another drive is outside the repository, as a..path is, and iskept as written (with
/).ax_links(link),axiomcode-changed: an absolute path on another drive is kept as given rather than raising.tests/no_exec.py: its control starts Git Bash (AXIOMCODE_BASH), not a barebash, which is WSL's on GitHub's image.POSIX is unchanged:
relpathnever raises there.Verified
windows_argvandno_symlinkalready passed in that run; this is the remainderno_exec7/7; Java cases unchanged🤖 Generated with Claude Code