Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Remove bundled @github/copilot from release tarball

Đang mở Phù hợp với người mới
#266 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
70/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
shell
Lĩnh vực
build-system, release

Hướng nghiên cứu

Đọc scripts/create_code_editor_tarball.sh hoặc script tạo tarball tương đương và theo dõi cách node_modules được tập hợp. Chạy quy trình đóng gói, xác minh rằng tarball kết quả không chứa các gói @github/copilot và xác nhận rằng kích thước artifact không cần thiết đã được loại bỏ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Shell
Star
26
Fork
24
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws/code-editor

Tất cả issue của aws/code-editor

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.