Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Preview cache hits without running tasks

Aberta
#791 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@lifeiscontent já está trabalhando nisso.

Desde 2/10/2026.

  • #792 de @lifeiscontent — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
52/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
build-system, cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
478
Forks
48
Merge médio
23h 10min
PRs com merge (30d)
71

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de voidzero-dev/vite-task

Todas as issues de voidzero-dev/vite-task

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.