Remove bundled @github/copilot from release tarball
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- shell
- 領域
- build-system, release
調査の方向性
scripts/create_code_editor_tarball.sh、または同等の tarball 作成スクリプトを読み、node_modules がどのように組み立てられているかを追跡してください。パッケージングプロセスを実行し、生成された tarball に @github/copilot パッケージが含まれていないことを確認し、不要なアーティファクトサイズが削除されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Shell
- スター
- 26
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/code-editor のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
aws/code-editor#301 ·
-
aws/code-editor#248 · コメント 1 件 · 担当者 1 名 ·
aws/code-editor の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
community-scripts/ProxmoxVE#17425 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
technical-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
oSoWoSo/vOid_Community_repOsitory#148 · コメント 1 件 ·