dodjdnh commented on PR #3867: URL: https://github.com/apache/dubbo-go/pull/3867#issuecomment-7103746405
本次 CI 的两项失败均与本 PR 改动无关: 1. **Unit Test**:仅 `cluster/router/condition` 中的 `Test_multiplyConditionRoute_route/test_multiply_destination` 出现概率路由计数随机抖动(`expected=167, actual=220, tolerance=50`),本 PR 涉及的所有包均已通过。 2. **Integration Test**:`observability/integration` 在 `github.com/prometheus/[email protected]/model/metric.go:171`(`expfmt.(*TextParser).setOrCreateCurrentMF`)发生 panic: `panic: Invalid name validation scheme requested: unset`。 原因为 #3862 在 `develop` 将 `github.com/prometheus/common` 从 `v0.48.0` 升级至 `v0.70.1` 后,`dubbo-go-samples`(`observability/integration`)通过 `replace` 继承了 `v0.70.1`,但其内部仍使用零值 `expfmt.TextParser{}`(未通过 `expfmt.NewTextParser(model.UTF8Validation)` / `model.LegacyValidation` 初始化校验方案),从而触发 panic。 cc @AsperforMias 同步一下 `prometheus/common` v0.70.1 导致的集成测试兼容问题;另外请维护者方便时帮忙重跑一次 `Unit Test`,谢谢! -- 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]
