Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Built-in tool tasks miss the cache after the workspace moves

オープン
#790 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
tooling

調査の方向性

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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voidzero-dev/vite-task のほかの issue

voidzero-dev/vite-task の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。