Skip to content

fix(pubsub): upgrade @opentelemetry/core to ^2.8.0 to resolve CVE-2026-54285 (#8792) - #9092

Open
westarle wants to merge 1 commit into
googleapis:mainfrom
westarle:fix/pubsub-otel-core-2.8
Open

fix(pubsub): upgrade @opentelemetry/core to ^2.8.0 to resolve CVE-2026-54285 (#8792)#9092
westarle wants to merge 1 commit into
googleapis:mainfrom
westarle:fix/pubsub-otel-core-2.8

Conversation

@westarle

@westarle westarle commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR resolves CVE-2026-54285 by upgrading @opentelemetry/core to ^2.8.0 and devDependency @opentelemetry/sdk-trace-base to ^2.8.0. It includes only the minimal required changes to OpenTelemetry SDK 2.x test initialization and ReadableSpan assertions without unrelated refactoring.

Fixes #8792

@westarle
westarle requested a review from a team as a code owner August 5, 2026 12:07
@product-auto-label product-auto-label Bot added the api: pubsub Issues related to the Pub/Sub API. label Aug 5, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates OpenTelemetry dependencies to version 2.8.0 and adapts the test assertions and setup to match the new API. However, the instantiation of BasicTracerProvider in handwritten/pubsub/test/tracing.ts passes a spanProcessors property in the constructor configuration, which is not supported and will result in a TypeScript compilation error. You should revert to using provider.addSpanProcessor() instead.

Comment thread handwritten/pubsub/test/tracing.ts
@westarle
westarle enabled auto-merge (squash) August 5, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(pubsub): upgrade OpenTelemetry packages to resolve CVE-2026-54285

1 participant