Open kruskall opened 4 days ago
The testing.go file imports the testing package but it's non-test file in a non-testing package.
testing.go
testing
https://github.com/elastic/opentelemetry-lib/blob/3df0d4f515c90726a090666556ed38cf2aa0cdd8/remappers/internal/testing.go#L21
This causes downstream clients to include the testing package in the final binary.
(This is a side effect of some of the downstream clients having DCE disabled due to problematic dependencies)
The
testing.go
file imports thetesting
package but it's non-test file in a non-testing package.https://github.com/elastic/opentelemetry-lib/blob/3df0d4f515c90726a090666556ed38cf2aa0cdd8/remappers/internal/testing.go#L21
This causes downstream clients to include the testing package in the final binary.
(This is a side effect of some of the downstream clients having DCE disabled due to problematic dependencies)