Remove bundled @github/copilot from release tarball
- Langage dominant
- Shell
- Étoiles
- 26
- Forks
- 24
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Lisez scripts/create_code_editor_tarball.sh, ou le script équivalent de création du tarball, et retracez la manière dont node_modules est assemblé. Exécutez le processus de packaging, vérifiez que le tarball résultant ne contient aucun paquet @github/copilot et confirmez que la taille inutile de l’artefact est supprimée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- build-system, release
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Calme
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 70/100