Support selective/subset runtime deployment within a single project (--runtimes= or group/tag filter)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 68/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- cli
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 339
- Forks
- 129
- Merge médio
- 19h 21min
- PRs com merge (30d)
- 125
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de aws/agentcore-cli
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
aws/agentcore-cli#2940 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
aws/agentcore-cli#2939 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
aws/agentcore-cli#2938 ·
Mantenedores costumam responder em até 1 dia
-
invoke: CUSTOM_JWT runtime errors discard the response body and error type (e.g. "Token has expired")Talvez já em andamento @n1dhruv assumiu há 6 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
aws/agentcore-cli#2875 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
--debug has no effect; service error name, HTTP status and request ID never reach the terminalTalvez já em andamento @abhiramshaji-cyber assumiu há 3 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
aws/agentcore-cli#2874 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de aws/agentcore-cli
Issues semelhantes
-
manually bump balena-preload to ^19.0.6Talvez já em andamento @shaunmulligan assumiu hoje. Aberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 66/100
balena-io/balena-cli#3200 ·
Mantenedores costumam responder em até 1 dia
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMTalvez já em andamento @olegius88 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 64/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
melgarafael/DeskcommCRM#5340 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Mantenedores costumam responder em até 1 dia