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

Preview cache hits without running tasks

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
build-system, cli

調査の方向性

Start at the vp run <task> entry point and trace how normal runs plan tasks, inspect the local cache, and produce their summary. Define the dry-run output for hits, misses with existing reasons, disabled caching, and unknown dependent tasks without executing or modifying the cache. Verify that the command has no side effects and reports one line per planned task.

索引モデルが issue の本文から書いたものです。

説明

Problem

Before kicking off a long run, there's no way to see which tasks will come from the cache and which will actually run. In CI this matters when deciding whether an expensive job is worth starting, and locally it helps explain an unexpected miss before waiting for it. Today the only way to find out is to run the tasks and read the summary afterwards.

Proposal

Add vp run --dry-run <task>. It plans the run exactly like a normal run, then prints one line per task without running anything or changing the cache:

  • cache hit
  • cache miss, with the same reason the run summary would give ('src/a.ts' modified, no previous cache entry found, ...)
  • cache disabled
  • unknown, when a task it depends on would run first and could change its inputs

It would only read the local cache, so it's quick and has no side effects. Turborepo has a similar --dry flag. A JSON output could come later.

主要言語
Rust
スター
471
フォーク
42
平均マージ
1日 4時間
マージ済み PR(30日)
45

環境構築

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 を短くまとめたダイジェスト。