GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(path): normalize AbsolutePath strip_prefix by wan9chi · Pull Request #464 · voidzero-dev/vite-task

Conversation

@wan9chi

@wan9chi wan9chi commented Jun 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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
All reactions
  • 👍 1 reaction
This was referenced Jun 14, 2026
feat(cache): honor runner ignored inputs #431
Merged
feat(cache): honor runner ignored outputs #459
Merged
@wan9chi 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
feat(cache): add explicit auto output tracking #460
Merged
feat(cache): default outputs to automatic tracking #461
Merged
@wan9chi Graphite App

wan9chi commented Jun 14, 2026

Copy link
Copy Markdown
Member Author
  • docs: consolidate runner-aware changelog entries #463 Graphite
  • test(e2e): verify Vite auto output restoration #462 Graphite
  • feat(cache): default outputs to automatic tracking #461 Graphite
  • feat(cache): add explicit auto output tracking #460 Graphite
  • feat(cache): honor runner ignored outputs #459 Graphite
  • feat(cache): honor runner ignored inputs #431 Graphite
  • refactor(path): normalize AbsolutePath strip_prefix #464 Graphite 👈 (View in Graphite)
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Jun 14, 2026
test(e2e): verify Vite auto output restoration #462
Merged
docs: consolidate runner-aware changelog entries #463
Merged
@wan9chi
wan9chi force-pushed the infra-strip-path-prefix-helper branch 2 times, most recently from 0a4c11e to 3e8296c Compare June 14, 2026 22:17
@wan9chi wan9chi changed the title refactor(path): share path-prefix stripping refactor(path): normalize AbsolutePath strip_prefix Jun 14, 2026
@wan9chi
wan9chi force-pushed the infra-strip-path-prefix-helper branch from 3e8296c to ae8408c Compare June 14, 2026 22:35
@wan9chi @codex
refactor(path): normalize absolute strip_prefix
d02ecb7
Co-authored-by: GPT-5 Codex <[email protected]>
@wan9chi
wan9chi force-pushed the infra-strip-path-prefix-helper branch from ae8408c to d02ecb7 Compare June 14, 2026 22:41
@wan9chi Graphite App

wan9chi commented Jun 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi
wan9chi merged commit 949ca0c into main Jun 14, 2026
20 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi
wan9chi deleted the infra-strip-path-prefix-helper branch June 14, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@wan9chi
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.