Closed as not planned
Description
A similar issue was reported in #5660, when toolchain
was present directly. It was addressed in #5784 and a check was added in #5983.
Unfortunately, since then #5920 changed some go
directives from go 1.22
to go 1.22.0
, which has a similar effect of forcing consumers to add a toolchain
directive, see: grpc-ecosystem/grpc-gateway#5094. See cloudflare/ebpf_exporter#520 for an example of what happens downstream.
From the looks of it open-telemetry/opentelemetry-go
and open-telemetry/opentelemetry-go-instrumentation
depend on each other and one can no longer simply truncate go
directives, as go mod tidy
would add toolchain
back due to dependencies using go 1.22.0
.
I'm not sure how to fix this.