Skip to content

fix: preserve Vite+ generated PATH across CI steps - #171

Closed
liangmiQwQ wants to merge 2 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/preserve-viteplus-path
Closed

liangmiQwQ wants to merge 2 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/preserve-viteplus-path

Conversation

@liangmiQwQ

Copy link
Copy Markdown
Collaborator

Vite+ PR voidzero-dev/vite-plus#2758 moves system-first shims into a fallback directory at the end of PATH. setup-vp currently propagates only the main bin directory, so commands such as pnpm can become unavailable after opting out of package-manager management when no system installation exists.

This PR sources Vite+'s generated environment script and carries its PATH into the current process and later GitHub Actions, GitLab, and Azure steps. Only the main bin uses the runners' prepend APIs, preserving system-tool precedence over managed fallbacks. Older releases retain the existing bin-directory behavior when no generated PATH is available.

Regression coverage checks command resolution with and without system tools, mixed modes, and later PATH additions. The package-manager CI matrix now checks actual commands on Linux, macOS, and Windows.

🤖 Generated with Codex

@fengmk2

fengmk2 commented Sep 21, 2026

Copy link
Copy Markdown
Member

I think it was fixed in #146

@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

I think it was fixed in #146

That's correct, thanks for that!

@liangmiQwQ liangmiQwQ closed this Sep 21, 2026
@liangmiQwQ
liangmiQwQ deleted the liang/codex/preserve-viteplus-path branch September 21, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants