chore: remove remaining VP_HOME usage (especially snapshot tests)
メンテナーはふだん 1 日以内に返信
@forehalo がすでに取り組んでいます。
2026年8月7日 から。
評価
この issue はまだ評価されていません。
説明
Context
VpDirs resolution still honors deprecated VP_HOME as a full legacy-root pin for compatibility, but much of the repo still sets or assumes VP_HOME as the primary install root. That fights the split layout (VP_*_DIR / XDG_* / platform defaults) and keeps fixtures on a monolithic shape.
Follow-up to #2346 / #827.
Goal
Stop using VP_HOME except where it is required as a read-only deprecated override (custom roots). Prefer VP_BIN_DIR / VP_DATA_DIR / VP_CACHE_DIR and XDG/platform defaults everywhere else.
Scope (high signal)
- PTY snapshot suite (
crates/vp_cli_snapshots/): provision per-case homes with split dirs or explicitVP_*_DIR, not a permanentVP_HOME=~/.vite-plusbaseline; update fixtures that expand$VP_HOME/... - CI / bootstrap:
pnpm bootstrap-cli,GITHUB_PATHentries, scripts that exportVP_HOMEonly to force legacy shape - Docs / comments / help strings that still describe
VP_HOMEas the default home - Tests that seed
~/.vite-plussolely to trigger grandfathering (replace with split targets or explicitVP_*_DIR) - Audit remaining
set_var("VP_HOME")/VP_HOME:in Rust, TS, shell, and workflow YAML
Non-goals
- Removing the deprecated read of
VP_HOMEinVpDirsresolution (keep until a later deprecation cut) - Auto-migrating on-disk
~/.vite-plustrees (tracked separately)
Acceptance
- Snapshot runner and fixtures do not require
VP_HOMEfor the default happy path - New tests document layout via
VP_*_DIR/ XDG / platform defaults - Grep for product code that sets
VP_HOMEis limited to documented custom-root / trampoline edge cases
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 267
- 平均マージ
- 21時間 13分
- マージ済み PR(30日)
- 146
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voidzero-dev/vite-plus#2801 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/vite-plus#2097 · コメント 10 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
vp run: task output forwarding aborts with EAGAIN when stdout turns non-blocking mid-run (follow-up to #2165)対応中かも @naokihaba が 1 日前に担当しました。 オープンbug
voidzero-dev/vite-plus#2824 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2816 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2811 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
solana-foundation/pay-kit#341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
anthropics/buffa#487 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
arkworks-rs/algebra#1161 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
lbjlaq/Antigravity-Manager#3525 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rustdesk/rustdesk-server#708 ·