tools: a stale vscode-ui dist is reported as current, so tests run against old output

Abierto
#68 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
Medio día
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript, vscode

Línea de trabajo

Start with the tools entry point run via npm run tools --prefix opensource, and find the up-to-date check it uses to decide that packages/integrations/vscode-ui/dist is current. Reproduce by touching a file under that package's sources, then running tools test and confirming it still uses the old output. Done when a newer source file forces a rebuild before tests, or the test command refuses to run against stale output, with the behaviour covered by a test.

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

Descripción

npm run tools --prefix opensource -- test <target> can run unit tests against stale built output. On a fresh checkout of main, the build tool reported packages/integrations/vscode-ui/dist as current when it was older than its sources, so tools test first ran against the old output.

Expected: tools build / tools test notice that the sources are newer than dist and rebuild, or refuse to run tests against stale output.

Found while removing the scope switch counts (githubnext/projections#67).

Lenguaje dominante
TypeScript
Estrellas
4
Forks
1
Merge medio
5 h 31 min
PR fusionados (30 d)
229

Preparar el entorno

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 githubnext/projections

Todos los issues de githubnext/projections

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.