Support selective/subset runtime deployment within a single project (--runtimes= or group/tag filter)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- cli
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 339
- Forks
- 129
- Merge medio
- 19 h 21 min
- PR fusionados (30 d)
- 125
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aws/agentcore-cli
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
aws/agentcore-cli#2940 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
aws/agentcore-cli#2939 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
aws/agentcore-cli#2938 ·
Los mantenedores suelen responder en 1 día
-
invoke: CUSTOM_JWT runtime errors discard the response body and error type (e.g. "Token has expired")Posiblemente ocupada @n1dhruv la tomó hace 6 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aws/agentcore-cli#2875 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
--debug has no effect; service error name, HTTP status and request ID never reach the terminalPosiblemente ocupada @abhiramshaji-cyber la tomó hace 3 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
aws/agentcore-cli#2874 ·
Los mantenedores suelen responder en 1 día
Todos los issues de aws/agentcore-cli
Issues similares
-
triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 64/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
ranxianglei/billion-context#7860 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
opencollective/opencollective#9177 ·