Built-in tool tasks miss the cache after the workspace moves
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
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
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/vite-task
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
voidzero-dev/vite-task#791 ·
Los mantenedores suelen responder en 1 día
-
vp run: output forwarding fails with EAGAIN when an inherited Node child sets stdout non-blockingAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
voidzero-dev/vite-task#782 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
remote cache
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
voidzero-dev/vite-task#781 ·
Los mantenedores suelen responder en 1 día
-
remote cache
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
voidzero-dev/vite-task#779 ·
Los mantenedores suelen responder en 1 día
-
remote cache
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
voidzero-dev/vite-task#778 ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-task
Issues similares
-
area:release bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
registrystack/registry-stack#1874 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
component:midnight-toolkit status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
midnightntwrk/midnight-node#2237 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día