Remove bundled @github/copilot from release tarball
- Lingua principale
- Shell
- Stelle
- 26
- Fork
- 24
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Problem
The CE 1.2.0-rc.1 tarball includes `@github/copilot*` packages in `node_modules/` which add **237 MB** to the release artifact:
```
152M node_modules/@github/copilot-linuxmusl-x64/
82M node_modules/@github/copilot/
3.0M node_modules/@github/copilot-sdk/
```
This was introduced by VS Code 1.119.x's built-in Copilot integration (ref: https://code.visualstudio.com/updates/v1_116).
Since SageMaker Code Editor removes all Copilot-related features for compliance/branding/legal reasons, these dependencies should also be excluded from the tarball.
## Impact
- Conda package size increased from ~50 MB (CE 1.0.13) to ~150 MB (CE 1.2.0-rc.1)
- The `@github/copilot*` packages account for nearly all of the increase
- Unnecessary binary bloat shipped to every SMD customer
## Proposed Fix
Exclude `@github/copilot*` from `node_modules/` in the tarball creation script (`scripts/create_code_editor_tarball.sh` or equivalent).
```bash
rm -rf vscode-reh-web-linux-x64/node_modules/@github
```
## Workaround
The conda-forge feedstock can strip it during packaging in `build.sh` as an interim fix.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Leggi scripts/create_code_editor_tarball.sh, o lo script equivalente per la creazione del tarball, e traccia come viene assemblato node_modules. Esegui il processo di packaging, verifica che il tarball risultante non contenga pacchetti @github/copilot e conferma che le dimensioni non necessarie dell’artefatto vengano rimosse.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- build-system, release
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 70/100