Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Preview cache hits without running tasks

Aperta
#791 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di voidzero-dev/vite-task

Tutte le issue di voidzero-dev/vite-task

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.