Repository navigation
fix: stabilize JoinMap, Compose, and authorization - #32558
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? |
|
This pull request is merged. |
|
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: f73a86280e4ee4c00e9be89507d572de9258713f
Assessment: approve
Cancellation identity now reaches existing scope arbitration, allowing it to recover the causal execution error. Failed-build-only tree traversal preserves substantive errors and immutable broadcast snapshots without changing publication or cleanup ownership. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Reviewed all five changed files, build publication/consumption, scope cause arbitration and reset/free paths; assessed all three discussion keys and the unchanged FK BVT oracle.
-
Six focused message/hashjoin tests passed under race: checks/1794409714834530100-3.json; focused-race.stdout.log.
-
The full message package reported a terminal race PASS for 27 top-level tests. The combined command exited 124 before a hashjoin package result; it is not counted as an overall pass: checks/1794411119703418908-3.json.
-
Two internal probes each passed 100 race repetitions, covering causal FK/deadline/mixed-error handling and concurrent mutation isolation: checks/1794411194808796107-4.json and checks/1794411196447834036-98.json. Exact extracted functions and real frozen moerr inputs are documented in probe-inputs.json.
-
Isolation preflight, matching native prerequisites and final source/evidence audit passed; 171 native inputs verified. All 24 receipts and retained logs are reconciled in receipt-reconciliation.json and validation-report.json.
Limitations:
-
Full local normal/hashjoin race suites and committed-test stress attempts did not complete; no pass is claimed. Accepted focused VM execution, message package race completion and internal stress for the changed immutable payload and transparent forwarding; hashjoin adds no lifecycle or synchronization state.
-
No fresh SQL/BVT or full compile-package execution. Source-extracted probes are internal checks of copied frozen functions, not public SQL tests.
-
Frozen product CI is pending; raw author normal-suite/build/vet logs were unavailable. Warmup and environment-inspection receipts lacking source fingerprints are excluded from frozen-head execution proof.
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? |
6eccd36 to
4cb9415
Compare
|
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: 4cb9415ef905cdb1825081b21906e19d33a6e7f3
Assessment: approve
No actionable findings remain. JoinMap, authorization and logtail changes reuse existing owners; bounded policy certificates and table targets preserve general snapshot freshness and replay-generation checks. Per-object privilege coverage is enforced consistently, and the earlier revoked-write concern is resolved.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Full race suites passed for frontend, message, disttae, logtail service and txnbase: 2,178 root passes and one existing skip.
-
Fifteen focused consumer tests, the SQL-helper interface control and the authenticated two-CN authorization regression passed.
-
Eight unit concurrency tests each passed 100 adaptive race repetitions. First replay passed with a runtime-only short-temp fixture and its separate adaptive repetition.
-
Preflight, native provenance, formatting, shell syntax, protobuf descriptor, pinned-client checksum and final receipt/source/log audits passed.
Limitations:
-
Product CI remains pending. Original FK failure timing, the older delayed-apply INSERT witness and full SQL/BVT suites were not rerun locally.
-
The unadapted first-replay run hit an overlong Unix socket path; successful runs change only its test fixture's runtime GOTMPDIR to private /tmp.
-
Full local hashjoin/dispatch/compile/TAE-db suites, exact Docker-base execution and vendor modified-source provenance were not independently verified.
|
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: 92e9897b391a2c575f6f5da01180849087c345be
Assessment: approve
No actionable findings. The changes reuse existing error, authorization and logtail owners with bounded state. Tenant-scoped view checks preserve definer rules and cover views without table scans; the earlier authorization-snapshot concern remains resolved.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Reviewed all 64 changed files, 16 discussion entries and three linked issues; discussion-assessment.json covers every key.
-
Local preflight, fresh native builds, formatting of 51 Go files, shell/protobuf/pinned-payload audits and 20-package selection passed. validation-summary.json reconciles receipts and retained logs, excluding unqualified source fingerprints.
-
Verified 53 changed paths are identical to the prior assessed head; assessed supplied same-PR owner-race, consumer and current SQL/BVT reports.
Limitations:
-
Local Go race/build/vet attempts timed out without terminal results; no local Go pass is claimed. Runtime coverage relies on supplied same-PR reports whose raw logs are unavailable here.
-
Frozen product CI remains pending. Public SQL/BVT and exact Docker-base execution were not rerun locally; mc modified-source provenance remains unverified.
What type of PR is this?
Which issue(s) this PR fixes
What this PR does / why we need it
Validation
pkg/embedand partition tests that failed in the earlier CI run passed as separate race controls.gofmt,git diff --check, shell syntax, build and standard vet passed. Projectmolintreported no new diagnostics against the established baseline, and configured incrementalgolangci-lintreported 0 issues.CI status and limits
Checks on the updated head are pending.
CI run 43208266333 on
4cb9415passed the build, SCA, coverage producer, and Iceberg/Mongo connectors, but failed two snapshot-view and four clone-view reads, which the new local controls cover. Its phased race run hit the old 60-minute outer timeout during the heavy wave; the increased budget is not proof that a new run will pass. Coverage merge was blocked by missing profiles from the failed BVT producers.On the earlier head
6eccd36775, Compose PROXY, pessimistic BVT, SCA, and UT coverage passed. Ubuntu/x86 race UT failed in shared embedded-cluster startup and a partition commit alongside Raft timeouts. Isolated local controls passed, but they do not reproduce CI's concurrent load or establish a root cause.An existing CTE view over an account snapshot can fail with
Unknown database; this is reproducible on the pre-change baseline and remains outside this fix.The pinned MinIO binary reports
vcs.modified=true; exact build-time source provenance remains unverified. The production Ubuntu base was unavailable locally, and the separate MinIO server image still downloads externally.