Skip to content

Fix 32bit arch int overflow in sdk#2810

Merged
MrAlias merged 3 commits intoopen-telemetry:mainfrom
MrAlias:fix-sdk-32bit
Sep 15, 2025
Merged

Fix 32bit arch int overflow in sdk#2810
MrAlias merged 3 commits intoopen-telemetry:mainfrom
MrAlias:fix-sdk-32bit

Conversation

@MrAlias
Copy link
Copy Markdown
Contributor

@MrAlias MrAlias commented Sep 15, 2025

Testing with GOARCH=386:

Error: ../../../go/pkg/mod/go.opentelemetry.io/auto/sdk@v1.2.0/tracer.go:88:38: math.MaxUint32 (untyped int constant 4294967295) overflows int
19
Error: ../../../go/pkg/mod/go.opentelemetry.io/auto/sdk@v1.2.0/tracer.go:93:38: math.MaxUint32 (untyped int constant 4294967295) overflows int

@MrAlias MrAlias added the bug Something isn't working label Sep 15, 2025
@MrAlias MrAlias force-pushed the fix-sdk-32bit branch 2 times, most recently from 8615f75 to 958db7d Compare September 15, 2025 15:01
@MrAlias MrAlias marked this pull request as ready for review September 15, 2025 15:36
@MrAlias MrAlias requested a review from a team as a code owner September 15, 2025 15:36
@MrAlias MrAlias merged commit c0a461c into open-telemetry:main Sep 15, 2025
55 checks passed
@MrAlias MrAlias deleted the fix-sdk-32bit branch September 15, 2025 16:03
@dims
Copy link
Copy Markdown

dims commented Sep 15, 2025

xref: kubernetes/kubernetes#134066

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants