Skip to content

fix(templates): pin google-adk < 2.0.0 to prevent runtime init timeout#1309

Merged
notgitika merged 1 commit into
aws:mainfrom
notgitika:fix/pin-google-adk-below-2
May 19, 2026
Merged

fix(templates): pin google-adk < 2.0.0 to prevent runtime init timeout#1309
notgitika merged 1 commit into
aws:mainfrom
notgitika:fix/pin-google-adk-below-2

Conversation

@notgitika

Copy link
Copy Markdown
Contributor

Summary

  • Pins google-adk to < 2.0.0 in all three GoogleADK template pyproject.toml files (http, a2a, agui)
  • google-adk 2.0.0 was released 2026-05-19T16:17 UTC and significantly increases cold-start import time (~2.5s locally for just google.adk.agents), pushing GoogleADK agents past the 30s runtime initialization limit in E2E
  • The E2E failure in run 26114689210 was caused by pip resolving >= 1.17.0 to the newly-published 2.0.0

Test plan

  • Snapshot tests updated
  • Existing unit tests pass (typecheck passed in pre-commit)
  • E2E re-run with this fix should resolve the googleadk-gemini init timeout

@notgitika notgitika requested a review from a team May 19, 2026 18:26
@github-actions github-actions Bot added the size/m PR size: M label May 19, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label May 19, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label May 19, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label May 19, 2026
@github-actions

github-actions Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.14.0.tgz

How to install

gh release download pr-1309-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-0.14.0.tgz

google-adk 2.0.0 was released on 2026-05-19 and significantly increases
cold-start import time, pushing GoogleADK agents past the 30s runtime
initialization limit. Pin to < 2.0.0 until we validate 2.x compatibility.
@notgitika notgitika force-pushed the fix/pin-google-adk-below-2 branch from 3118f6a to b568126 Compare May 19, 2026 18:29
@github-actions github-actions Bot added size/xs PR size: XS and removed size/m PR size: M labels May 19, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label May 19, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label May 19, 2026

@agentcore-cli-automation agentcore-cli-automation left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Minimal, well-targeted fix:

  • Adds < 2.0.0 upper bound to google-adk in all three GoogleADK template pyproject.toml files (a2a, agui, http).
  • Snapshot is updated consistently — verified the three google-adk lines in assets.snapshot.test.ts.snap match the three template files.
  • I grepped the rest of src/ for google-adk / googleadk references — no other pyproject templates, docs, or tests need updating.
  • No test code changes (no mocking concerns) and no new feature surface (no telemetry to add), so the patterns from the review guidelines don't apply here.

Rationale in the PR description (avoid the cold-start regression in google-adk 2.0.0 that pushes runtime init past 30s) is clear and matches the linked failing E2E run.

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label May 19, 2026
@notgitika notgitika merged commit 397530a into aws:main May 19, 2026
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants