Upgrade go.opentelemetry.io/otel/sdk to v1.40.0#2218
Merged
yuandrew merged 3 commits intotemporalio:masterfrom Mar 10, 2026
Merged
Upgrade go.opentelemetry.io/otel/sdk to v1.40.0#2218yuandrew merged 3 commits intotemporalio:masterfrom
yuandrew merged 3 commits intotemporalio:masterfrom
Conversation
jmaeagle99
approved these changes
Mar 9, 2026
yuandrew
added a commit
that referenced
this pull request
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
Combined #2211, #2210, and #2209 into a single PR
Added a nil check for tests, now that EventuallyWithT runs immediately, instead of after a tick, stretchr/testify#1427
Fixed
TestPinnedOverrideInWorkflowOptionstest flake. An existing race, but potentially amplified by go 1.24.0 bump, which changed goroutine scheduling behavior. Fixed by retryingExecuteWorkflowin anEventuallyloop until the pinned verison is present.Why?
https://cwe.mitre.org/data/definitions/426.html
Checklist
Closes
How was this tested:
Note
Medium Risk
Primarily dependency/toolchain upgrades (notably OpenTelemetry) which can introduce subtle behavioral or compatibility changes; code changes are limited to test robustness.
Overview
Upgrades dependency sets across
contrib/datadog,contrib/opentelemetry, andtestmodules, including OpenTelemetry (go.opentelemetry.io/otel/*) to v1.40.0,go.opentelemetry.io/auto/sdkto v1.2.1, and various supporting libs (e.g.testify,goleak,go-cmp,x/sys), updatinggo.sumaccordingly.Moves affected modules to Go 1.24 (and updates toolchain directives where present). Also hardens flaky tests: adds a nil guard around
d.SearchAttributesin schedule integration assertions and retries starting a workflow with a pinned deployment version until the matching engine observes the poller.Written by Cursor Bugbot for commit ec401ea. This will update automatically on new commits. Configure here.