Repository navigation
fix: consolidate engineering quality fixes and regression coverage - #29250
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 high review — substantive结论:APPROVE。
当前 head dfc09bb778f2dfc3d50c721912f398ba8c4ee8c9 未确认阻塞性缺陷。已核对:
- binary prepared 使用真实协议,DELETE 后重新绑定;
- SQL PREPARE、TRUNCATE/rebuild、rollback 及集合运算 1/2 CN 边界仍有独立覆盖;
- IVF BVT 保留 ANN/post-filter/fallback 语义;
- Sirius 增量、native 两种到达顺序、失败计数、诊断脱敏和资源清理未发现回归;
- exact-head CI 通过,IVF 21/21、generated-column SQL BVT 22/22。
这是 XuPeng-SH 自有 PR,GitHub 不提交 APPROVE,因此按规则以 COMMENT 记录上述 substantive APPROVE 结论。
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 high review — substantive 结论:APPROVE。
当前 head 9cf7fd710729f17a0d8548a8f94ca8dd2ce4dd7f 未确认阻塞性缺陷:
- binary prepared 使用真实协议,DELETE 后复用同一 statement 重新绑定;
- SQL PREPARE、TRUNCATE/rebuild、rollback 仍有覆盖;
- 集合运算保留 1/2 CN、远端 owner、独立语义边界和两轮 prepared 复用;
- IVF 正则检查 ANN/post-filter/fallback,精确结果断言仍在;
- unique-key provenance、Sirius 增量、native 两种到达顺序、失败计数、诊断脱敏和资源清理未发现回归。
当前 exact-head CI 尚未全部完成:UT、SCA、coverage 及多 CN BVT 仍 pending;本 COMMENT 记录的是代码审查结论,不代表 CI 已通过。
这是 XuPeng-SH 自有 PR,按规则以 COMMENT 提交,不提交 APPROVE。
aunjgr
left a comment
There was a problem hiding this comment.
Reviewed 9cf7fd7. Incremental validation now stops the runner on invalid evidence, keeps diagnostics to trusted schedule fields, and protects existing output artifacts. I also checked the subprocess and artifact failure paths: cleanup and timeout ownership remain intact, and retained campaign state is bounded by the finite schedule. The test-only refactors preserve their semantic boundaries. No blocking issue found; required CI is green.
What type of PR is this?
Which issue(s) this PR fixes:
Refs #29249. The ongoing engineering-quality task remains open.
Fixes #29244.
Related regression work: #29146/#29169, #29228, and IVF INCLUDE/AUTO retry coverage.
What this PR does / why we need it:
Consolidate the confirmed findings from the recent-commit quality review into this existing PR. Remove redundant work and unused state, strengthen existing tests at their owning boundary, and fix the parity harness's delayed validation rather than introducing parallel frameworks.
Sirius failure reporting distinguishes stale directories from this invocation's partial artifacts: a failed report write can still leave an exclusively created
failure.json, without overwriting an existing diagnostic or following its symlink. Validation and result hashing share the same schema/rows representation, so ignored fields cannot cause a late serialization failure. Invalid retained UTF-8 is rejected before another run; postexecution errors retain their actual counts instead of being labeled configuration errors.The implementation removes generic diagnostic revalidation, redundant accessors and duplicate schedule/count checks. The CLI reuses its immediately validated results for summary/artifact generation; independent public summary/writer calls still validate mutable input. Both use the same private calculation/writing bodies, with no cached validation state or public skip-validation flag. This reduces repeated work, not the total line count of the PR against main.
Findings rechecked without speculative code changes
These dispositions account for the remaining review concerns in this PR; they are not claims that hypothetical risks were fixed by adding code.
Validation
Go 1.26.4, Linux amd64, verified CPU native artifacts:
1e400permits the full valid campaign and normal artifacts; a retained lone surrogate stops after one invocation withinvalid-output, attempted=1/validated=0; invalid retained configuration text invokes no runner. Injected report I/O and encoding failures preserve attempted=validated=1860 and successfully write diagnostics beside partial artifacts.dfc09bb778: output validations 3,720 → 1,860; parity comparisons 2,976 → 1,488; result encodings 5,580 → 3,720. All four artifacts are byte-for-byte identical. Early encoding and final digest encoding remain separate intentionally; independent calls on returned mutable records still revalidate. This measures operation counts, not elapsed-time or GPU performance.The #29244 first-result reproduction previously invoked the runner 1,860 times before rejecting forbidden fallback. It now stops after one invocation and emits only:
{"attempted":1,"category":"invalid-output","route":"mo-native","sequence":1,"status":"invalid","validated":0}This is CPU fake-runner evidence, not a GPU speedup or parity claim. The shared incremental validator replaces the old delayed validation loop; its route map serves both oracle comparison and duplicate detection. No retry, checkpoint, parallel scheduler, or production diagnostic hook is introduced.
Full repository BVT/CI and live GPU performance are not claimed. The 96-to-40 reduction is a query-count reduction, not a measured suite wall-time speedup.