x/telemetry/internal/telemetry: update ProgramInfo
heuristic for go1.24
#69401
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
telemetry
x/telemetry issues
Milestone
In go1.24, the go command will start to stamp the main module version in the build info
even when the binary is built with
go build
. There are cases where the binary builtin this way can have different dependencies while having the same version string stamped
as the release versions. Adjust the heuristic to detect the case.
https://github.com/golang/telemetry/blob/6d9f2eb83631e39f6d0b87dd8411b8f5d7fac38e/internal/telemetry/proginfo.go#L27
cc @golang/telemetry
The text was updated successfully, but these errors were encountered: