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: 8be449a16babd60d08b4c5ddfacb900e3a693d0d
Assessment: approve
The complete three-file change removes unread bookkeeping without changing configuration application, stream forwarding, heartbeat scheduling, liveness or cleanup. The constructor signature and every test assertion remain intact. This is a coherent, behavior-preserving simplification with no actionable findings.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Exact base/head comparison verified only the identified fields, assignments and associated formatting changed.
-
Standalone AST audit parsed all 6,824 tracked Go files and checked 33 owner struct literals. Receipt checks/1793054137448881748-4.json matches field-audit.log and the clean assigned head.
-
Corrected source/discussion audit passed: checks/1793054249445159943-4.json matches review-audit-v2.log. The earlier audit miscounted two existing comments; it was not a product failure.
-
Read both complete discussion items and saved discussion-assessment.json. Receipts, logs and review-scope.json are retained under /home/xupeng/.local/state/mo-bot/jobs/ff284b20679977c5d62d9dba/attempt-1.
Limitations:
-
No product tests or benchmarks were run. Approval rests on verified behavior-preserving removal; author test/lint claims lack supplied execution artifacts, and six CI checks remained in progress.
-
The change removes retained references and one unused clock read/store per heartbeat; no measured performance gain is claimed.
-
The linked issue body and the claimed compatibility check with PR #29162 were not supplied. Assessment covers the frozen candidate’s stated cleanup.
|
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: c5471aaf3321251ab1028bdbc166c143df53db81
Assessment: approve
The complete change removes unread bookkeeping and an unreferenced test helper while preserving configuration application, constructor compatibility, heartbeat scheduling, liveness, GC ownership and every test assertion. The design reduces redundant state without adding replacement paths. The earlier review is independently supported for its original scope; the added GC-helper removal is also verified. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1586-7a01-9000-d45e20995cf8 · slot 1 · generation 1
Validation:
-
Parsed all 6,824 tracked Go files and checked 33 owner struct literals. Removed fields have no readers, and the GC reset helper has no references.
-
Exact base/head source projection confirmed only the intended removals and associated formatting changed. Reconciled earlier audit receipts and logs against the unchanged three-file subset.
-
Complete MORPC suite passed: 373 top-level / 526 named tests. Complete CN-client suite passed: 4 top-level / 7 named tests. No failures or skips.
-
Formatting, diff whitespace and MORPC/CN-client go vet passed. Isolation preflight and repository native-provenance verification passed after matching 192 native inputs.
-
Verified command/source/exit receipts against retained logs. Saved discussion-assessment.json, review-scope.json and review-evidence.json under /home/xupeng/.local/state/mo-bot/jobs/76cf149468d95929439d2ea7/attempt-1. Final evidence audit passed; source remained unchanged.
Limitations:
-
Substantive frozen CI remained pending. Author-reported configured-linter and cross-PR merge checks lacked supplied execution artifacts.
-
Tests ran normally on Linux/amd64 CPU. No changed synchronization or public SQL/protocol contract warranted additional race or BVT runs. Reduced retained state and heartbeat clock work were not benchmarked.
-
The raw tracking issue was absent; its engineering-quality scope is documented in frozen source. Approval excludes broader issue closure and unknown external Go test importers.
## 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 unused RPC client bookkeeping: the CN pipeline client's saved configuration pointer and local address, and the backend's write-only last-ping timestamp. Configuration still initializes the codec and connection options; the public constructor signature remains compatible. Actual heartbeat timers, liveness/activity tracking, stream forwarding, connection budgets and cleanup remain unchanged.
Also remove the unreferenced
ResetGlobalClientGCManagerForTesthelper. Actual GC initialization, configured manager replacement, readiness, client registration and test-owned save/restore paths remain intact.Remove the obsolete address assignment from the existing local-backend test fixture while preserving every assertion. No test is deleted.
Validation: the complete MORPC suite was rerun (373 top-level / 526 named tests; no failures or skips). The unchanged CN client suite's existing passing evidence is reused (4 top-level / 7 named tests). Formatting, go vet, all four configured molint analyzers and incremental golangci-lint pass with no diagnostics. The shared backend file also merges cleanly with PR #29162 in both three-way merge orders; this is a file-level compatibility check.