Remove bundled @github/copilot from release tarball
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- shell
- Domain
- build-system, release
Research direction
Read scripts/create_code_editor_tarball.sh, or the equivalent tarball creation script, and trace how node_modules is assembled. Run the packaging process, verify the resulting tarball contains no @github/copilot packages, and confirm the unnecessary artifact size is removed.
Written by the indexing model from the issue text.
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).
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.
- Dominant language
- Shell
- Stars
- 26
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/code-editor
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
aws/code-editor#301 ·
-
aws/code-editor#248 · 1 comment · 1 assignee ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100