AlexStocks commented on code in PR #3829: URL: https://github.com/apache/dubbo-go/pull/3829#discussion_r4585770427
########## Makefile: ########## @@ -43,8 +43,7 @@ endif # Tests with known issues (data races or test design defects) tracked in the # race-detector issue. Skipped via -skip so the whole-repo race run can pass; # each test should be fixed and removed from this list over time. -RACE_SKIP_TESTS := TestFailbackRetryFailed \ -TestFailbackOutOfLimit \ +RACE_SKIP_TESTS := \ Review Comment: [P1] 目标分支是 main,导致 Files changed 的 20 个文件里只有这 1 个是本 PR 的改动 触发条件:本 PR 的 `baseRefName` 是 `main`,而仓库 PR 模板要求目标分支为 `develop`(本 PR 正文勾选了 "I confirm the target branch is `develop`"),同批 #3826/#3827/#3830 的 base 也都是 `develop`。 证据(GitHub 实时状态,head eee06c0a6e): - `repos/apache/dubbo-go/compare/develop...eee06c0a6e` → `status=diverged, ahead_by=1, behind_by=1`,差异文件只有 `Makefile`(+1/-2)。 - 也就是说,GitHub 在此处展示的 20 个文件 / 1677 行里,除本 Makefile hunk 外,其余 19 个文件(`common/url.go` 的 `MergeURL` warmup 时间戳语义改动、`global/metric_config.go`、`metrics/histogram.go`、`metrics/rpc/histogram.go`、`metrics/rpc/recorder.go` 等整套 histogram 能力)都是 `develop` 相对 `main` 的既有内容,已由 #3791(`feat(metrics): add opt-in RPC latency histograms with configurable buckets`,2026-11-15 合入 `develop`)等 PR 合入,不属于本 PR 的工作。 - 本 PR 的真实增量只有这处 Makefile:把 `TestFailbackRetryFailed`、`TestFailbackOutOfLimit` 移出 `RACE_SKIP_TESTS`。该改动本身有门禁支撑——head 的 Unit Test job(133167487648)里 `Race Test` 步骤 completed/success,这两个用例在本提交上确实跑过 `-race` 并通过。 实际影响:按 GitHub 当前展示的 Diff 合并,会把 `develop` 上尚未发布的一整批改动(含 `common/url.go` 中会重新启用 warmup 权重的 `MergeURL` 语义变更,以及整套 histogram 配置面)一并带进 `main`,绕过 `develop` → 发布的正常路径;同时 1677 行的 review 面里只有 3 行是真改动,后续 `develop` → `main` 同步必然与这些文件冲突。 修复方向:把目标分支改为 `develop` 后重新打开(或请维护者改 base);改完后 Diff 应只剩 Makefile 的这 3 行。若确需把 develop 的内容带到 main,应走单独的发布/同步流程,不要夹在 race 测试改动里。 -- 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]
