Preview cache hits without running tasks
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- build-system, cli
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 468
- Fork
- 42
- Merge medio
- 1g 18h
- PR unite (30g)
- 46
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voidzero-dev/vite-task
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
voidzero-dev/vite-task#790 ·
I maintainer di solito rispondono entro 1 giorno
-
vp run: output forwarding fails with EAGAIN when an inherited Node child sets stdout non-blockingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
voidzero-dev/vite-task#782 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
remote cache
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
voidzero-dev/vite-task#781 ·
I maintainer di solito rispondono entro 1 giorno
-
remote cache
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
voidzero-dev/vite-task#779 ·
I maintainer di solito rispondono entro 1 giorno
-
remote cache
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
voidzero-dev/vite-task#778 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di voidzero-dev/vite-task
Issue simili
-
area:release bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
registrystack/registry-stack#1874 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
component:midnight-toolkit status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
midnightntwrk/midnight-node#2237 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno