eventExpiryDuration minimum is still 7 in @aws/agentcore-cdk
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ó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- aws, typescript
- Lĩnh vực
- cli, infrastructure
Hướng nghiên cứu
Reproduce with the three agentcore commands in the report; the first synth error comes from MemorySchema in @aws/agentcore-cdk 1.0.3, where .min(7) should match the harness schema's .min(3). The second gate is MEMORY_EXPIRATION_DAYS_MIN in the aws-cdk-lib Memory L2 construct, adopted in 1.0.0, so check how the construct is instantiated and whether it needs an explicit override or a dependency bump. Done means agentcore deploy creates a memory with eventExpiryDuration 3, with a test covering the boundary.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
agentcore add memory --event-expiry-duration 3 works, but agentcore deploy fails at synth.
#956 fixed only the CLI schema. Two checks still enforce 7:
@aws/agentcore-cdk1.0.3MemorySchema:.min(7). Its harness schema uses.min(3).aws-cdk-lib2.277.0 Memory construct:MEMORY_EXPIRATION_DAYS_MIN=7. It applies since@aws/agentcore-cdk1.0.0, which switched to the L2Memory.
CloudFormation already allows 3. With both checks patched locally, agentcore deploy creates a memory with eventExpiryDuration 3.
Steps to Reproduce
agentcore create --name ExpiryRepro --template empty && cd ExpiryRepro
agentcore add memory --name ExpiryMin3 --event-expiry-duration 3
agentcore deploy
Expected Behavior
Synth accepts 3, and deploy creates the memory.
Actual Behavior
memories[0].eventExpiryDuration: Too small: expected number to be >=7
With only the schema patched, synth fails with "Memory expiration days must be between 7 and 365".
CLI Version
1.0.3
Operating System
macOS
Additional Context
Related: #744, #956.
- Ngôn ngữ chính
- TypeScript
- Star
- 339
- Fork
- 129
- Merge trung bình
- 19 giờ 21 phút
- Pull request đã merge (30 ngày)
- 125
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/agentcore-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
aws/agentcore-cli#2940 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws/agentcore-cli#2939 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
aws/agentcore-cli#2938 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
invoke: CUSTOM_JWT runtime errors discard the response body and error type (e.g. "Token has expired")Có thể đã có người làm @n1dhruv đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aws/agentcore-cli#2875 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
--debug has no effect; service error name, HTTP status and request ID never reach the terminalCó thể đã có người làm @abhiramshaji-cyber đã nhận 3 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws/agentcore-cli#2874 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aws/agentcore-cli
Issue tương tự
-
manually bump balena-preload to ^19.0.6Có thể đã có người làm @shaunmulligan đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 66/100
balena-io/balena-cli#3200 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMCó thể đã có người làm @olegius88 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 64/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melgarafael/DeskcommCRM#5340 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Maintainer thường phản hồi trong vòng 1 ngày