Skip to content

fix(deps): raise OpenTelemetry and Google ADK floors (SAO-21058) - #331

Open
etserend wants to merge 2 commits into
mainfrom
fix/sao-21058-otel-adk
Open

etserend wants to merge 2 commits into
mainfrom
fix/sao-21058-otel-adk

Conversation

@etserend

@etserend etserend commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Require OpenTelemetry API, SDK, and OTLP HTTP exporter 1.45.2 or later in the SDK wheel. Update the HTTP instrumentation ranges and refresh the Poetry lock.
  • Preserve OTLP rejection diagnostics with the upstream HTTP transport, including unknown health when an acknowledgement is unavailable.
  • Require Google ADK 2.14 through 2.x, update the runner examples, and preserve the legacy ingestion hook.
  • Exercise a real ADK Runner through the SDK exporter to a loopback collector. Verify the decoded span hierarchy, routing, and both accepted and rejected acknowledgements.

This combines the dependency updates proposed in #316 and #317.

Validation

Check Result
Root SDK on macOS with OpenTelemetry 1.46.1 2,516 passed, 127 skipped
A2A on macOS 68 passed
ADK 2.14.0 on Python 3.11 with OpenTelemetry 1.45.2 267 passed
ADK 2.16.0 on Python 3.14 with OpenTelemetry 1.45.2 267 passed
Built SDK and ADK wheels with SDK all extras on Python 3.11 Dry-run resolved to OpenTelemetry 1.45.2

Ruff passed for the changed Python files. The end-to-end tests used a deterministic model, mocked control-plane calls, and a local HTTP collector.

@etserend

etserend commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

PR #331 validation report

Validated commit f58ed8b338afd3b8631a3d07d270c91474874a4a using repository CI, the external e2e-testing harness, and the instrumented Healthcare Assistant. The selected staging tests and the lab0 healthcare ingest test passed. Full SDK E2E coverage remains unverified because lab0 management calls returned HTTP 401.

SDK and ADK CI

Check Result
Root SDK CI on Python 3.11–3.14 across Linux, macOS, and Windows All 12 jobs passed, including type checking
ADK CI on Python 3.11–3.14 All 4 jobs passed
Local A2A suite 68 passed
SDK and ADK wheels with SDK all extras on Python 3.11 Dependency resolution succeeded with OpenTelemetry 1.45.2

The separate CLA Assistant workflow failed before starting any jobs. Root SDK CI · ADK CI · CLA run

External E2E on standalone staging

All 16 selected cases passed across the initial run and two targeted retries with OpenTelemetry 1.46.1.

  • 12 OTLP ingest cases covered trace readback, parent-child relationships, session grouping, header routing, span classification, input/output mapping, distributed context, out-of-order arrival, fan-out, deep traces, orphan spans, and concurrent sessions.
  • 2 HTTP span cases covered classification and input/output extraction.
  • 2 logging cases covered workflow logging and live gpt-4.1-mini calls, including tool calls through the OpenAI wrapper.

One retry used the provider-authorized model. The other resolved a transient teardown failure after the OTLP assertion had passed. The test project and stream from that attempt were removed.

A supplemental live ADK test passed with Google ADK 2.14.0 and 2.16.0, both on OpenTelemetry 1.45.2. A real ADK Runner called the live model, and staging readback confirmed the workflow, agent, and model spans and their parent relationships.

Healthcare Assistant on lab0

Ran the instrumented LangGraph agent headlessly against lab0 with OpenTelemetry 1.46.1, live gpt-4.1-mini calls, live embeddings, and a disposable PostgreSQL/pgvector database seeded with synthetic records.

Scenario Result
RAG query Returned the expected value from the synthetic vector-store fixture
Text-to-SQL lookup Returned the expected value from the synthetic patient record
Synthetic hallucination demo Emitted its workflow, retrieval, and model spans
OTLP acknowledgement Lab0 acknowledged 3 traces and 37 spans. All 37 spans carried the same session ID.

The acknowledged batches contained invoke_workflow, invoke_agent, chat, execute_tool, and retrieval spans. The disposable database was removed after the run. Lab0 management access returned HTTP 401, leaving trace persistence and UI readback unverified.

Remaining lab0 findings

  • Live logging, workflow logging, and ingest-token authentication passed in the external harness.
  • Name-based routing readback failed on both the PR and its base commit 82dc40b. Lab0 accepted the OTLP export in both runs, but the expected project did not appear within the polling window. The base run used OpenTelemetry 1.38.0.
  • Default-route readback was skipped because the case requires a lab0 admin session.
  • The broader O11y-tagged SDK run reported 5 failures, 4 setup errors, and 5 skips. Both configured lab0 profiles returned HTTP 401 at the management endpoints. This blocked qualification of project, dataset, prompt, and experiment operations.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant