fix(compute): registry MCP assets are not substrate-portable to lambda-microvm
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, python, typescript
- Domain
- cloud, documentation, infrastructure, testing
Research direction
Start with lambda-microvm-strategy.ts:100-125 and the asset path through orchestrator.ts:999, server.py:2122, and pipeline.py:1167; inspect the existing strategy tests and run them. Done means the 443-only limitation is documented in docs/design/REGISTRY.md, COMPUTE.md, and DEPLOYMENT_GUIDE.md, and a test covers resolved_assets forcing the over-4,096-byte S3-pointer branch.
Written by the indexing model from the issue text.
Description
Problem
resolved_assets (#246/#665) reaches the guest on lambda-microvm without any strategy change — traced and confirmed: orchestrator.ts:999 puts it on the shared agentPayload, the MicroVM strategy forwards that verbatim (inline or via S3), server.py:2122 _extract_invocation_params → :566 → :677 → _spawn_background(**params) → _run_task_background(resolved_assets=…) → pipeline.py:1167 apply_resolved_assets, which is pure-local (writes .mcp.json, makes no AWS calls). So the delivery path is genuinely free.
Two constraints make execution of those assets non-portable, and neither is recorded anywhere:
- 443-only runtime egress.
LambdaMicrovmCompute's runtime security group isallowAllOutbound: falsewith a single TCP 443 rule (lambda-microvm-compute.ts:862-870). A registrymcp_serverasset whose runtime config points at any other port works onagentcoreandecsand fails onlambda-microvm.apply_mcp_assetsis fail-CLOSED on load errors but cannot see a connectivity constraint, so the symptom is a task that starts normally and then cannot reach its tool. resolved_assetsconsumes the 4 096-byterunHookPayloadbudget. That cap is exact and measured (lambda-microvm-strategy.ts:100-125), and it is the branch point between inline and S3-pointer delivery. Adding asset entries shifts which tasks inline. Not a bug — the S3 path is already dominant — but it is an untested interaction: no test covers an envelope that crosses 4 096 bytes because ofresolved_assets.
Expected
- Document the 443-only constraint where registry assets are described (
docs/design/REGISTRY.md) and in thelambda-microvmsection ofCOMPUTE.md/DEPLOYMENT_GUIDE.md. - Decide whether to validate it: either a synth/onboarding-time check that a pinned
mcp_serverasset's runtime is 443-reachable, or an explicit "not supported on this backend" note. - Add a strategy test that pushes an envelope over 4 096 bytes via
resolved_assetsspecifically and asserts the S3-pointer branch is taken.
Refs #645, #246, #665. Blocked by nothing; P2.
- Dominant language
- TypeScript
- Stars
- 158
- Forks
- 49
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 17
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-autonomous-cloud-coding-agents
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aws-samples/sample-autonomous-cloud-coding-agents#908 ·
Maintainers usually reply within 1 day
-
bug v1
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
aws-samples/sample-autonomous-cloud-coding-agents#886 ·
Maintainers usually reply within 1 day
-
bug v1
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
aws-samples/sample-autonomous-cloud-coding-agents#861 ·
Maintainers usually reply within 1 day
-
documentation P2 security
Difficulty 2/5 1-2 days Newbie friendliness 74/100
aws-samples/sample-autonomous-cloud-coding-agents#793 ·
Maintainers usually reply within 1 day
-
Docs: How to clear previously set attributes for a blueprintMay be free again @rkumarus-aws claimed this 45 days ago, and no pull request is open. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aws-samples/sample-autonomous-cloud-coding-agents#767 · 2 comments ·
Maintainers usually reply within 1 day
All issues in aws-samples/sample-autonomous-cloud-coding-agents
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
QuantumNous/new-api#7839 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
bug p2 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getpaseo/paseo#7071 · 1 comment ·
Maintainers usually reply within 1 day
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging itOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
code-yeongyu/senpi#3436 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 78/100
lingdojo/kana-dojo#32505 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day