Support selective/subset runtime deployment within a single project (--runtimes= or group/tag filter)
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
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Start at src/cli/commands/deploy/types.ts (DeployOptions) and trace how agentcore deploy enumerates harnesses from agentcore.json, plus where toStackName() derives stack identity. Decide which of the two proposed designs to implement — a --runtimes=/--harness= filter or a group/label field on HarnessRegistryEntrySchema — and plumb it through deploy, diff and plan. Done looks like: unlisted runtimes are skipped in plan/diff/deploy output while listed ones deploy unchanged, with tests covering filtering and an error for unknown runtime names.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
agentcore deploy always deploys every runtime/harness declared in a project's agentcore.json, because each CloudFormation stack is derived solely from (project name, target name) (toStackName()). There is currently no way to deploy only a subset of runtimes within a single project:
DeployOptionsonly exposestarget,yes,progress,verbose,json,plan,diff— no runtime/harness filter (src/cli/commands/deploy/types.ts).tagsexist on project/runtime entries (TagsSchema) but are plain AWS resource tags, not wired into any deploy-selection logic.HarnessRegistryEntrySchemaonly hasname+path— nogroup/labelfield to filter on.
Impact
In a monorepo with many independent agent runtimes (20+), this forces splitting into several separate agentcore.json/CDK projects purely to limit blast radius and avoid redeploying unrelated agents on every change — duplicating project config, CDK stacks, and CI wiring per group. This also seems related to the stack-naming collision reported in #2104, which stems from the same one-stack-per-project-and-target design.
Request
Support deploying a subset of runtimes within a single project, via either:
- A
--runtimes=<name1,name2>(or--harness=) flag ondeploy(and ideallydiff/plan) to target only the listed runtimes, or - An optional
group/labelfield on runtime/harness registry entries, filterable with something like--group=<name>.
This would let a single project declare many runtimes while still allowing fine-grained, independent deployments — removing the need to artificially split a monorepo into multiple AgentCore projects just to achieve deployment isolation.
Related
- #2104 — stack collision, same root cause (stack identity derived solely from project+target)
- #1187 — multi-target operations proposal (different scope: environments, not runtime subsets)
- #2216 (closed, not merged) — explored imperative per-harness deploy behind a feature flag, but still deploys all declared harnesses, not a filtered subset
Current workaround
Maintaining multiple separate agentcore.json/CDK projects, one per logical group of runtimes, so that each group can be deployed independently.
- 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ự
-
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 86/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
ranxianglei/billion-context#7860 ·
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 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
opencollective/opencollective#9177 ·