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

Feature Request: Support optimization flags in the build actions

Đang mở
#3 2 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
node.js, python
Lĩnh vực
build-system

Hướng nghiên cứu

Issue này nêu tên các build action node-npm và python-pip nhưng không chỉ rõ tệp hoặc test nào. Trước tiên, hãy xác định các triển khai của những action đó và các đường dẫn đầu ra của build; sau đó xác định cách mỗi tối ưu hóa được yêu cầu, bị từ chối khi không được hỗ trợ và được xác minh trong các artifact tạo ra.

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

Mô tả

maintainer/need-response type/feature

Description:
We can support several optimizations to improve the build process. This is a feature request to support optimization flags that can be passed to each build action. If an action cannot support a particular optimization, it should error out:

Optimization 1: Use prebuilt binaries

Benefit: Makes build faster

When building dependencies with native modules, use pre-built binaries that are available locally or download from internet. This saves time in recompiling the same binaries over and over again. It can also make the build more stable because sometimes compilation fails or times out.

Requested by build actions:

  1. node-npm
  2. python-pip
Optimization 2: Remove unnecessary dependencies

Benefit: Produces slim zips

Remove unnecessary dependency libraries, or files or folders from the output artifact. For example, remove tests, test data files, or dependencies that are already available in transitive closure.

Requested by build actions:

  1. node-npm
  2. python-pip
Ngôn ngữ chính
Python
Star
381
Fork
162
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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/aws-lambda-builders

Tất cả issue của aws/aws-lambda-builders

Issue tương tự

Thêm issue về Python

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.