AsperforMias opened a new pull request, #1169: URL: https://github.com/apache/dubbo-go-samples/pull/1169
## Summary apache/dubbo-go develop now depends on `github.com/prometheus/common` v0.70.1. In that version a zero-value `expfmt.TextParser` has no name validation scheme, so `TextToMetricFamilies` panics with `Invalid name validation scheme requested: unset`. The histogram verifier in `observability/integration` uses one. dubbo-go's integration job runs this repository's `main` against the PR's source, so every dubbo-go PR targeting develop currently fails there. The verifier now parses through `expfmt.NewDecoder(r, expfmt.NewFormat(expfmt.TypeTextPlain))`, which picks the scheme from the format. That API exists in both v0.48.0, used by this repository's `go.mod`, and v0.70.1. The checker test uses the same helper. ## Validation - With `prometheus/common` bumped to v0.70.1, `go test ./observability/integration/internal/verify/` panicked in `TestHistogramContract` before this change and passes after it. - The same tests pass with the current v0.48.0 pin. - With `dubbo.apache.org/dubbo-go/v3` replaced by develop, `go build ./...` passes for the whole module, and `verify` is its only package that imports `prometheus/common` directly. - The full `observability/integration` flow was not run locally because Docker Hub image pulls timed out. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
