[Feature] Update the smoke test VSIX and remove outdated packages during release
Mantenedores costumam responder em até 1 dia
Um pull request relacionado já foi integrado.
- #2996 de @EmmaYuan1015 — integrado
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Estagnada
- Stack de tecnologia
- typescript, vscode
- Domínio
- devtools
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 2.7k
- Forks
- 301
- Merge médio
- 1d 3h
- PRs com merge (30d)
- 30
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de microsoft/vscode-react-native
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
microsoft/vscode-react-native#3037 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
microsoft/vscode-react-native#3036 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
microsoft/vscode-react-native#3033 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
microsoft/vscode-react-native#3031 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
microsoft/vscode-react-native#3030 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de microsoft/vscode-react-native
Issues semelhantes
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster maturity:stable no-stale P1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
openclaw/openclaw#190772 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
flisk-sh/run-my-agents#61 ·
-
Dificuldade 2/5 3-5 dias Facilidade para iniciantes 62/100
career-ops-hq/career-ops#6399 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
BoardGamesEmpire/board-games-empire-backend#1027 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
johnfrog76/connected-deck#21 ·