Repository navigation
refactor(colexec): scope expression diagnostics to their subtrees - #31891
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: a83a0bae68bb67d48228105913f3ddf1bf9e8ed2
Assessment: approve
The refactor preserves diagnostic scope, warning multiplicity, memo ownership and cleanup. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a1869d-820c-7212-9788-aecfb86a4141 · slot 0 · generation 2
Validation:
-
Reviewed all five changed files, affected consumers, design and supplied discussion.
-
419 root tests passed in both normal and race modes across colexec, filter, hashbuild and hashjoin, with -count=1 and supplied runtime isolation.
-
Test receipts: checks/1793358727733633753-4.json and checks/1793358838201072070-4.json; retained logs indexed in validation-summary.json.
-
Formatting, diff checks, frozen-source identity, native-input fingerprints and discussion coverage passed. Source remains unchanged.
-
Saved review-plan.md and discussion-assessment.json.
Limitations:
-
GitHub CI is queued in the frozen evidence snapshot.
-
Author-reported SQL integration and constructor benchmarks were not independently rerun.
aunjgr
left a comment
There was a problem hiding this comment.
Reviewed the complete refactor and tests. By-value subtree policy preserves the old temporal and conditional activation rules, including distinct ELT overload handling, while leaving shared memo accumulation and cleanup ownership intact. Reused the exact-head CI and documented focused validation; no new local tests were run.
|
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: a83a0bae68bb67d48228105913f3ddf1bf9e8ed2
Assessment: approve
The refactor preserves subtree diagnostic rules, warning multiplicity, shared memo ownership, activation and cleanup. Reviewed the complete delta and affected consumers; no actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a1869d-999c-7481-b340-ae4a63e8cee4 · slot 1 · generation 2
Validation:
-
Reconciled exact-head normal and race receipts and retained logs: 419 root tests passed in each mode across colexec, filter, hashbuild and hashjoin.
-
Source, native fingerprints, focused-test selection and all five discussion entries verified. Audit receipt: checks/1793367645922289901-2.json; log: evidence-audit.log.
-
Supplied exact-head CI reports successful build, UT, SCA, coverage and multi-CN BVT. Evidence indexed in validation-summary.json.
Limitations:
-
Reused matching execution evidence; no new Go tests were run.
-
SQL integration, mutation checks and constructor benchmarks remain author-reported; raw CI logs were not independently inspected.
What type of PR is this?
Which issue(s) this PR fixes:
Refs #29249
What this PR does / why we need it:
Expression executor construction mixes shared memo/activation accumulation with mutable diagnostic policy, restoring owners and guard depths through deferred closures. Pass diagnostic policy by value into each subtree and represent temporal ownership with three explicit modes. This removes the two depth counters and policy-restoration paths while keeping memo identities and borrowed probe activation references in their existing shared owner.
Preserve warning multiplicity, lazy branch activation, the distinct ELT overload rules, partial-construction cleanup and prepared-execution reset. Two lightweight behavioral tests cover sibling order, guarded selection, repeated evaluation and reset; both characterize the original builder, and independently removing either relevant guard makes its test fail.
Design contract at the reviewed revision. Design and final overall review used gpt-6.1-sol / max; final review reported no material blockers.
Validation on Darwin/arm64, Go 1.27.1,
GOEXPERIMENT=simd, using the repository CGo wrapper and freshly built native prerequisites:colexec,filter,hashbuildandhashjoinsuites: 419 root tests passed in normal mode and with race, each with-count=1.GitHub CI is pending.