Repository navigation
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? |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 8842f11c8f5250d8c60fcae224923233fe4dcd9c
Assessment: approve
Reviewed the complete two-file deletion and surrounding scheduler paths. Removing the unused projection and write-only counter is coherent cleanup. Live iteration, vacuum thresholds/debounce, generation admission, task accounting and query diagnostics remain unchanged. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Static audit scanned 6,824 tracked Go files across build tags: no remaining references to either removed symbol; the sole todoSupporter initializer uses named fields.
-
Verified that removing exactly the helper, field and increment from the base produces the current files' token streams. Formatting, frozen-patch matching and clean-source checks passed.
-
Both check-run receipts match the assigned head, source fingerprint, retained logs and exit 0. Mapping: /home/xupeng/.local/state/mo-bot/jobs/7f6c6601c511306440df718a/attempt-1/receipt-log-map.json.
-
Read the complete frozen discussion and saved discussion-assessment.json covering both informational items. No substantive disputes or prior findings were present.
Limitations:
-
Product build, unit-test, coverage and static-analysis CI jobs remain pending in the frozen snapshot. Author-reported tests and lint results lack retained execution artifacts and were not independently verified.
-
No product tests, native builds, race runs or benchmarks were executed locally. Static evidence establishes the narrow cleanup; any runtime savings are unmeasured.
-
The linked issue #29249 body was not supplied; approval covers this PR's stated cleanup scope.
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [x] Code Refactoring ## Which issue(s) this PR fixes: Refs #29249 ## What this PR does / why we need it: Remove unused helpers, duplicate bookkeeping and transient state whose consumers have already been retired. This consolidates the 19 closed cleanup PRs into one reviewable change on current main; each affected file matches its original published PR, with no additional cleanup. The cleanup covers TAE task/logstore/merge/RPC helpers, HAKeeper replica views, obsolete ETL writer and path state, batch/vector constructors, RPC client bookkeeping, metrics/CDC/fulltext state, MongoScan, message receivers, fixture helpers and interactive viewport state. Retained execution, ownership, cancellation, parser/error, replay, plugin registration and MySQL driver registration paths remain intact. Supersedes #31325, #31327, #31329, #31331, #31332, #31333, #31334, #31335, #31336, #31337, #31339, #31340, #31341, #31342, #31343, #31344, #31345, #31346 and #31347. Already merged #31323/#31324 and Python SDK #31322 are excluded. Validation on the combined change: all 30 changed owning packages built; 28 ran tests, with 2,066 top-level / 4,580 named cases passing and two existing external-data ETL tests skipped. The two support packages have no tests. Existing component-level race, before/after probes and consumer checks were reviewed for reuse. Formatting, go vet and incremental golangci-lint passed; forced all-four-analyzer molint reported six findings already reproduced at the baseline, with no new findings. These are local focused checks, not a full CI or GPU run.
What type of PR is this?
Which issue(s) this PR fixes:
Refs #29249
What this PR does / why we need it:
Remove the unconsumed
IterEntryAsStatsprojection helper and the merge scheduler's write-onlytotalVacuumCheckCntfield/increment.Keep the live stats iterator, vacuum trigger threshold and debounce time, generation admission, task accounting, query diagnostics and lifecycle paths. No test or assertion is changed.
Validation: the complete merge package suite passes (45 top-level / 94 named tests; no failures or skips). Formatting, go vet, all four configured molint analyzers and incremental golangci-lint pass with no diagnostics.
The shared scheduler file merges cleanly with PR #29294 in both three-way merge orders; this is a file-level compatibility check.