[Bug]: Lambdas pin the previous AgentCore runtime version until a second apply
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, javascript, terraform
- Domain
- cloud, infrastructure
Research direction
Start by tracing CORE_RUNTIME_VERSION on the intents and managed-environment Lambdas to module.agentcore.runtime_version and the awscc_bedrockagentcore_runtime.stage_executor resource. Check how the runtime version is read after a configuration update and how the deploy test runs a second plan. Done means one apply updates the Lambdas to the newly created runtime version and the second plan is empty.
Written by the indexing model from the issue text.
Description
CORE_RUNTIME_VERSION on the intents and managed-environment Lambdas comes from module.agentcore.runtime_version, which reads awscc_bedrockagentcore_runtime.stage_executor.agent_runtime_version. When an apply changes the runtime configuration, the runtime gets a new version, but the Lambdas keep the version they had before the apply. Only the next plan shows the update, for example 47 → 48.
Between the two applies, every new intent starts on the previous runtime version. In our case that version still carried the environment of a resource the same apply had deleted.
Expected: one apply leaves the Lambdas on the runtime version it created, so a second plan is empty. Options include reading the version only after the runtime update completes, or resolving the latest version when the intent starts. A deploy test that asserts the second plan is empty would catch a regression.
- Dominant language
- JavaScript
- Stars
- 128
- Forks
- 62
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 102
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/sample-collaborative-ai-dlc
-
area/infra nfr/operations
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws-samples/sample-collaborative-ai-dlc#843 ·
Maintainers usually reply within 1 day
-
[Bug]: Platform credential review times out on a large executions table (full-table inventory scan)Possibly taken @dc2tom claimed this 1 day ago. Openarea/backend nfr/performance topic/admin
Difficulty 3/5 Half a day Newbie friendliness 45/100
aws-samples/sample-collaborative-ai-dlc#840 ·
Maintainers usually reply within 1 day
-
[Bug]: Durable watchdog and PR-wait reconciler only check the first 100 rows of their indexPossibly taken @rafaelsmf claimed this 2 days ago. Openarea/backend nfr/reliability topic/intents
Difficulty 3/5 Half a day Newbie friendliness 45/100
aws-samples/sample-collaborative-ai-dlc#836 ·
Maintainers usually reply within 1 day
-
[RFC]: Spend and work controls: usage totals, holds, spend limits and caps per space and intentOpenarea/backend nfr/cost rfc topic/intents topic/spaces
Difficulty 5/5 Over a week Newbie friendliness 12/100
aws-samples/sample-collaborative-ai-dlc#833 ·
Maintainers usually reply within 1 day
-
[Feature]: View Mermaid diagrams in documents full size, with zoom, and download themPossibly taken @adrianrobinson42 claimed this 4 days ago. Openarea/frontend good first issue topic/knowledge
Difficulty 3/5 1-2 days Newbie friendliness 15/100
aws-samples/sample-collaborative-ai-dlc#830 · 1 comment ·
Maintainers usually reply within 1 day
All issues in aws-samples/sample-collaborative-ai-dlc
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 13 days
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemePossibly taken @Bensonbenyi claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Mintplex-Labs/anything-llm#7338 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug: no-derived-state crashes on a call through a TypeScript import-equals alias (`import x = A.b`)Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect#90 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
semantic-release/semantic-release#4375 ·
Maintainers usually reply within 1 day