Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa
#2,997 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #2996 di @EmmaYuan1015 — integrata

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
typescript, vscode
Ambito
devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
2.7k
Fork
298
Merge medio
15h 2m
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/vscode-react-native

Tutte le issue di microsoft/vscode-react-native

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.