-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Describe the bug
Using the latest 1.1.1 release with direct code deployment (zip), when using "test endpoint" in the AWS console,
getting this error: Unable to invoke endpoint successfully: Runtime initialization time exceeded. Please make sure that initialization completes in 30s..
To Reproduce
Upgrate to 1.1.1, build zip, deploy, test endpoint.
Expected behavior
Agent runs
Additional context
Downgrading to 1.0.7 everything runs fine.
Agent built with Strands 1.19.0.
The bedrock-agentcore 1.1.1 package added pre-commit>=4.2.0 as a hard runtime dependency, which is unusual and likely a packaging bug. This brings in 10+ unnecessary transitive dependencies (virtualenv, nodeenv, cfgv, identify, etc.) that may cause compatibility issues in the production environment.
The build zip file was 8Mb larger.