Built-in tool tasks miss the cache after the workspace moves
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the code that synthesizes built-in tool commands and how vp run constructs the command and cache key. Check how the entry script is currently passed alongside other arguments, then identify the workspace-relative behavior described in the proposal. Done means an in-workspace entry is relative to the task directory both when run and in the cache key, while other arguments behave as before.
索引モデルが issue の本文から書いたものです。
説明
Problem
When a task runs a built-in tool like vp lint or vp test, the planned command includes the absolute path of the tool's entry script, for example /home/me/project/node_modules/oxlint/bin/oxlint. That path is part of the cache key, so moving the workspace, cloning it somewhere else, or running from a git worktree misses the cache for every one of those tasks, even though nothing about them changed.
Proposal
Let the code that synthesizes these commands pass the tool's entry script separately from its other arguments. When the entry is inside the workspace, vp run passes it relative to the task's directory, in both the command it runs and the cache key. Everything else stays as it is today.
Related
#717 covers the case where the entry is outside the workspace, in a global pnpm store. That needs a different fix.
- 主要言語
- Rust
- スター
- 468
- フォーク
- 42
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 46
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-task のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
voidzero-dev/vite-task#791 ·
メンテナーはふだん 1 日以内に返信
-
vp run: output forwarding fails with EAGAIN when an inherited Node child sets stdout non-blockingオープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
voidzero-dev/vite-task#782 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
remote cache
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
voidzero-dev/vite-task#781 ·
メンテナーはふだん 1 日以内に返信
-
remote cache
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
voidzero-dev/vite-task#779 ·
メンテナーはふだん 1 日以内に返信
-
remote cache
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
voidzero-dev/vite-task#778 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-task の issue をすべて見る
似ている issue
-
area:release bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
registrystack/registry-stack#1874 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
component:midnight-toolkit status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
midnightntwrk/midnight-node#2237 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信