Preview cache hits without running tasks
メンテナーはふだん 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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-task のほかの issue
-
Let tools mark cache directories with CACHEDIR.TAG対応中かも @lifeiscontent が 2 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
voidzero-dev/vite-task#793 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
voidzero-dev/vite-task#790 ·
メンテナーはふだん 1 日以内に返信
-
vp run: output forwarding fails with EAGAIN when an inherited Node child sets stdout non-blocking対応中かも @naokihaba が今日担当しました。 オープン
難易度 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 日以内に返信
voidzero-dev/vite-task の issue をすべて見る
似ている issue
-
[Misdetection] `text/tab-separated-values` file misdetected as `text/tsv`対応中かも @bact が今日担当しました。 オープンmisdetection needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
C-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
vxc prints a debug line '[flat-codegen] emitted module via the flat path' on every compile対応中かも @YodHeVauHe が今日担当しました。 オープンdevex good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
Unused dependenciesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信