GeezerVison is showing github.com — refactor(path): normalize AbsolutePath strip_prefix by wan9chi · Pull Request #464 · voidzero-dev/vite-task
Conversation
wan9chi
commented
Jun 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation
The auto-output stack needs to compare runner-reported absolute paths with fspy paths even when Windows namespace prefixes differ. Keeping that OsStr-based prefix handling in fspy made the cache update fix duplicate platform-specific code.
This PR moves the shared prefix stripping into vite_path and folds that normalization into AbsolutePath::strip_prefix, so existing absolute-path prefix stripping handles Windows namespace prefixes consistently without adding a parallel AbsolutePath API.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
This was referenced Jun 14, 2026
wan9chi
changed the title
refactor(path): add shared strip_path_prefix helper
refactor(path): share path-prefix stripping
Jun 14, 2026
This was referenced Jun 14, 2026
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 14, 2026
wan9chi
changed the title
refactor(path): share path-prefix stripping
refactor(path): normalize AbsolutePath strip_prefix
Jun 14, 2026
wan9chi
commented
Jun 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merge activity
- Jun 14, 10:48 PM UTC: A user started a stack merge that includes this pull request via Graphite.
- Jun 14, 10:48 PM UTC: @wan9chi merged this pull request with Graphite.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.