Skip to content

fix: Make the Telemetry API enablement check non-fatal in AdkApp.set_up(). - #7073

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_964451485
Open

fix: Make the Telemetry API enablement check non-fatal in AdkApp.set_up().#7073
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_964451485

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

fix: Make the Telemetry API enablement check non-fatal in AdkApp.set_up().

_warn_if_telemetry_api_disabled() is a warning-only diagnostic, but it ran
with no timeout and no exception handling on the agent server's startup path,
so a single failed request to the Telemetry API could stop an agent from
starting. Wrap the check so any failure degrades to a warning, and bound the
request at 5 seconds.

@copybara-service
copybara-service Bot requested a review from a team as a code owner August 14, 2026 05:07
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels Aug 14, 2026
…up().

`_warn_if_telemetry_api_disabled()` is a warning-only diagnostic, but it ran
with no timeout and no exception handling on the agent server's startup path,
so a single failed request to the Telemetry API could stop an agent from
starting. Wrap the check so any failure degrades to a warning, and bound the
request at 5 seconds.

PiperOrigin-RevId: 964451485
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: vertex-ai Issues related to the googleapis/python-aiplatform API. google-contributor size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant