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

fix(templates): versions in agent templates should be pinned to avoid breakages.

Đang mở
#1,851 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python, typescript
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Bắt đầu bằng việc đọc pull request 1850 được liên kết và ví dụ về dependency được ghim trong src/assets/python/agui/langchain_langgraph/base/pyproject.toml. Kiểm tra các template agent Python và TypeScript để tìm các dependency chưa được ghim, sau đó so sánh hướng dẫn về compatible release của Python với phiên bản tương đương trong TypeScript. Công việc được xem là hoàn tất khi các release bên ngoài không thể đưa breaking changes vào các template.

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

Mô tả

Problem

Many versions in agent templates are left unpinned. This allows for new major releases (or any breaking change) to break projects completely.

More info in: https://github.com/aws/agentcore-cli/pull/1850.

Example of a dependency that is still pinned: https://github.com/aws/agentcore-cli/blob/main/src/assets/python/agui/langchain_langgraph/base/pyproject.toml#L24

If langgraph releases a new major version that isn't compatible with our code, all projects will break.

The same is true for the TS projects. We already pin CDK versions, but we need to pin all versions.

Definition of Done
  • Investigate pinning or "partially pinning" via https://peps.python.org/pep-0440/#compatible-release (and the TS equiv) to ensure new releases don't break projects. We can't blindly pin everything since newer versions may already be resolved such that pinning changes behavior.
  • Ensure that projects cannot be broken by external releases.
Ngôn ngữ chính
TypeScript
Star
307
Fork
107
Merge trung bình
16 giờ 44 phút
Pull request đã merge (30 ngày)
157

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/agentcore-cli

Tất cả issue của aws/agentcore-cli

Issue tương tự

Thêm issue về TypeScript

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.