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

[Feature] Update the smoke test VSIX and remove outdated packages during release

Cerrado
#2,997 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #2996 de @EmmaYuan1015 — fusionado

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
typescript, vscode
Área
devtools

Línea de trabajo

Start by reading the Gulp release task and the smoke test resource directory mentioned in the issue. Trace how packaging creates the VSIX and how the task signals completion; then check how existing VSIX files are handled. Done means release waits for packaging, removes outdated packages, places the generated VSIX in the smoke test resources, and fails if no expected VSIX was generated.

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

Descripción

enhancement

Description

Running gulp release generates a new VSIX in the project root, but the smoke test resources may still contain an older VSIX.

When the extension version changes, this leaves multiple VSIX files and requires manually replacing the package used by smoke tests.

Additionally, the release task calls its callback before the asynchronous packaging process finishes, so Gulp does not reliably wait for completion.

Expected behavior

The release task should wait for packaging to finish, remove outdated VSIX files, and move the newly generated VSIX into extension.

No VSIX should remain in the project root after a successful release.

Proposed fix

  • Return the release Promise so Gulp waits for packaging to complete.
  • Remove existing VSIX files from the project root before packaging.
  • Remove the outdated VSIX from the smoke test resources.
  • Move the newly generated VSIX into the smoke test resources.
  • Fail the release task if the expected VSIX was not generated.
Lenguaje dominante
TypeScript
Estrellas
2.7k
Forks
298
Merge medio
15 h 2 min
PR fusionados (30 d)
28

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 microsoft/vscode-react-native

Todos los issues de microsoft/vscode-react-native

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.