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: 8a128bb1f44efdb0a9a076d8e2a9dec2196b3d9a
Assessment: approve
Reviewed the complete four-file delta and its consumers. The removed paths have no live callers; concrete tasks retain context-aware execution through the existing scheduler, worker and completion owners. Removing these paths and unused state is coherent and requires no replacement abstraction. Task IDs, admission, error delivery and observers remain intact. The documented nil-panic wording change is acceptable because rejection before publication is preserved. No actionable defects or substantive discussion disputes remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Preflight and current-revision native-provenance verification passed using the assigned caches and executors.
-
Full tasks/... passed all eight existing tests plus three diagnostic probes; three support packages compiled without tests. Receipt: checks/1793046918793846347-13.json.
-
The same three probes passed against exact frozen-base inputs, confirming nil rejection, worker context/error/observer delivery and scheduler ID preservation. Receipt: checks/1793046941854758140-13.json.
-
Concrete engine consumer TestSchedule1 passed; targeted go vet passed tasks/..., db and tables/jobs. Receipts: checks/1793046975485745908-15.json and checks/1793046975149423834-12.json.
-
Final audit verified unchanged source, formatting, whitespace, overlay identities, discussion completeness and matching command/source/exit receipts. Receipt: checks/1793047145708645796-4.json.
-
Logs, validation-manifest.json, discussion-assessment.json and review-notes.md are retained under /home/xupeng/.local/state/mo-bot/jobs/1a088a6966d8e014aa99d323/attempt-1.
Limitations:
-
Product CI, full SCA and coverage were pending in the frozen snapshot. Author race/lint claims lacked retained receipts and were not counted as independently verified.
-
Expected gains are smaller task objects and removal of unused allocator construction; no workload benchmark was warranted or claimed.
-
Issue #29249 was assessed through the supplied PR description; its separate body was not included in frozen evidence.
|
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: ed8c846ad26548bc83904ffd06a5a0b1bd263712
Assessment: approve
Reviewed the complete five-file delta and its consumers. Removing orphan execution paths and unread state preserves the existing scheduler, worker, completion and ID owners without adding another abstraction. Job result publication, panic propagation and reset/reuse remain intact. The earlier approval covered four files; the added timestamp cleanup was independently reviewed and validated. No actionable defects or substantive disputes remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Full tasks/... passed eight maintained tests plus four diagnostic probes normally and under race. Three support packages compiled without tests. Receipts: 1793048078296525590-13.json and 1793048099923629654-15.json.
-
The Job panic/reset probe passed against the frozen base. Three earlier base controls were reused after verifying their production overlays, commands, receipts and logs. Receipts: 1793048077716658156-13.json and 1793048142984488403-4.json.
-
Concrete consumer TestSchedule1 and the I/O prefetch completion/recycling test passed, including accepted/rejected wait-queue cases. Targeted go vet passed. Receipts: 1793048178518551478-12.json and 1793048174813239929-12.json.
-
Preflight and current-revision native-provenance verification passed. Final audit confirmed unchanged source, formatting, overlay identities, all four discussion keys and matching execution receipts. Receipt: 1793048300184737641-4.json.
-
Evidence is retained under /home/xupeng/.local/state/mo-bot/jobs/bf1100ae85af8fff3b201dfe/attempt-1, including validation-manifest.json, discussion-assessment.json, review-notes.json and execution logs.
Limitations:
-
Product CI was pending in the frozen snapshot; author-only configured-lint claims were not counted as independently verified evidence.
-
Expected gains are smaller runtime objects and removal of unused allocator and clock work. No workload benchmark or throughput improvement is claimed; no SQL behavior changed.
-
Separate issue #29249 text was absent from the supplied evidence; approval covers this PR's documented retirement contract.
## 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:
Retire unused Task operation construction, self-dispatch and parameterless execution paths. Actual tasks implement
Execute(context.Context)and continue through the existing worker, dispatcher and completion owners. Remove the associated unread fields, the impossible nil-implementation fallback, and the scheduler allocator superseded by task-owned ID generation. Also remove unread Job timestamps and their clock-only deferred bookkeeping; retain result publication, waiting, reset/reuse and panic propagation.Preserve task IDs, admission/dispatch, error propagation, wait/observer completion and all existing tests. Nil implementations still fail the internal interface assertion before publication; incidental runtime panic wording may differ.
Validation (Go 1.27.1, controlled native test wrapper):
tasks/...: 8 named tests pass normally and under race; three support packages have no tests and compile only.No maintained tests are removed or weakened. No SQL, protocol or persistence behavior changes.