Skip to content

google-adk 2.1.0 cassette refresh fails #463

Description

Summary

The weekly dependency update PR #458 bumps google-adk from 1.33.0 to 2.1.0. Refreshing/validating the latest ADK cassettes did not complete cleanly.

What I tried

From py/ on branch deps/weekly-update-2026-05-25:

nox -s "test_google_adk(latest)"
rm -rf src/braintrust/integrations/adk/cassettes/latest
unset BRAINTRUST_API_URL BRAINTRUST_APP_URL BRAINTRUST_ORG_NAME
export BRAINTRUST_API_KEY=___TEST_API_KEY__
nox -s "test_google_adk(latest)" -- --vcr-record=all

Observed failures

Playback against the existing cassettes failed with multiple httpx.DecodingError errors while replaying Google GenAI responses:

httpx.DecodingError: Error -3 while decompressing data: incorrect header check

Fresh recording mostly succeeded but still failed one test:

FAILED src/braintrust/integrations/adk/test_adk.py::test_adk_input_schema_serialization
pydantic_core._pydantic_core.ValidationError: Input should be a valid dictionary or instance of UserInput

This looks like a behavior/API change in google-adk 2.1.0 around input_schema validation rather than simple cassette drift.

Notes

  • I reverted partial ADK cassette changes after the failed record attempt.
  • Other relevant minor/latest cassette refreshes on PR chore(deps): weekly dependency update #458 were completed and playback passed.
  • This probably needs a focused ADK 2.x compatibility pass before refreshing py/src/braintrust/integrations/adk/cassettes/latest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions