Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Built-in tool tasks miss the cache after the workspace moves

Abierto
#790 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
67/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
tooling

Línea de trabajo

Start by tracing the code that synthesizes built-in tool commands and how vp run constructs the command and cache key. Check how the entry script is currently passed alongside other arguments, then identify the workspace-relative behavior described in the proposal. Done means an in-workspace entry is relative to the task directory both when run and in the cache key, while other arguments behave as before.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Problem

When a task runs a built-in tool like vp lint or vp test, the planned command includes the absolute path of the tool's entry script, for example /home/me/project/node_modules/oxlint/bin/oxlint. That path is part of the cache key, so moving the workspace, cloning it somewhere else, or running from a git worktree misses the cache for every one of those tasks, even though nothing about them changed.

Proposal

Let the code that synthesizes these commands pass the tool's entry script separately from its other arguments. When the entry is inside the workspace, vp run passes it relative to the task's directory, in both the command it runs and the cache key. Everything else stays as it is today.

Related

#717 covers the case where the entry is outside the workspace, in a global pnpm store. That needs a different fix.

Lenguaje dominante
Rust
Estrellas
468
Forks
42
Merge medio
1 d 18 h
PR fusionados (30 d)
46

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de voidzero-dev/vite-task

Todos los issues de voidzero-dev/vite-task

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.