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: Assessment: approve Reviewed the complete three-file delta and planner, plugin and frontend paths. The repair uses the authoritative shared scan contract, preserves vector/fulltext metadata, and rejects malformed metadata without partial JSON. No actionable defects remain. Model: Session: Validation:
Limitations:
|
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 73a2f29089a9ee5f0218b5bb689e29335bc2a203
Assessment: approve
Reviewed the complete three-file delta and planner, plugin and frontend paths. The repair uses the authoritative shared scan contract, preserves vector/fulltext metadata, and rejects malformed metadata without partial JSON. No actionable defects remain.
Model: gpt-6-astra / xhigh
Session: 01a12d8f-7dea-77c2-a565-38d45b5564e4 · slot 0 · generation 0
Validation:
-
Full EXPLAIN package passed: 128 root tests, 338 records including subtests, no failures or skips.
-
Four frontend controls passed for JSON metadata, prepared/rebuilt statements and error handling.
-
Replayed all 68 existing SQL statements twice through MySQL on one embedded CN, checking 38 regex/error oracles per round plus JSON metadata and non-execution controls. A real fulltext2 payload check also passed.
-
mo-service build, go vet, formatting and diff checks passed. Native provenance was verified; source remained unchanged.
-
Command/source/exit receipts and retained logs are reconciled in /home/xupeng/.local/state/mo-bot/jobs/5b3f1ab77ee0d8a4aa422572/attempt-1/evidence-audit.json.
Limitations:
-
SQL validation used a diagnostic replay, not the mo-tester golden comparator. No fresh full-repository, race, GPU or Connector/J workload run.
-
golangci-lint was unavailable. Author-reported validation lacked retained receipts; remote CI was pending in the supplied snapshot.
-
The linked issue body was not supplied; this assessment covers the compatibility repair and does not close the broader feature issue.
|
mo-bot work · Commit: Final review accepts the unchanged candidate with no material findings or validation gaps. Required validation passes. Both frozen CI failures remain independently proven checkout TLS errors; full remote CI is not claimed green. Independent CI cause (no issue created): actions/checkout/github-git-fetch/gnutls-connection-terminated |
|
mo-bot review · Commit: Assessment: approve Reviewed the complete ten-file delta and its producers, plugin owners, and frontend consumers. The shared-scan repair preserves diagnostic semantics without duplicating execution logic. No actionable defects remain. Model: Session: Validation:
Limitations:
|
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: cd606233842510c922230025deefdcf91ea70084
Assessment: approve
Reviewed the complete ten-file delta and its producers, plugin owners, and frontend consumers. The shared-scan repair preserves diagnostic semantics without duplicating execution logic. No actionable defects remain.
Model: gpt-6-astra / xhigh
Session: 01a12d8f-7dea-77c2-a565-38d45b5564e4 · slot 0 · generation 0
Validation:
-
All 188 owning-package root tests passed: 128 EXPLAIN, 37 classic fulltext, and 23 fulltext2; no failures or skips.
-
Normal mo-tester comparison passed 96/96 assertions twice on one embedded CN, with zero ignored cases and verified catalog teardown.
-
Vet, formatting, and whitespace checks passed. Four unchanged frontend metadata/error controls were reconciled against retained receipts and logs.
-
Preflight passed; 192 native/module inputs and 62 recovered artifacts matched. Source remained unchanged.
-
Commands, source fingerprints, exit receipts, and log hashes are indexed in /home/xupeng/.local/state/mo-bot/jobs/0a8bb6428cbf159efaef6c1c/attempt-1/evidence-audit.json.
Limitations:
-
Frozen remote CI remains pending. No fresh race, GPU, multi-CN, whole-repository suite, or benchmark is claimed; the change adds read-only metadata rendering.
-
Issue #28301's body was not supplied. This assessment covers the corrective PR, not closure of the broader feature's QA acceptance.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep review of 94d41c597e7cd18697292d26118121e6ab4eec62 against base 35c8dd5854750ef96f52f9dd298a70acd031d5e4.
Assessment: no actionable blocking code findings. Reviewed all 21 changed files and the relevant planner, plugin, formatter and frontend callers; no subagents were used for this review.
- The repair uses the authoritative shared
IndexSearchScancontract. Algorithm settings remain owned by the existing six plugin decoders and the shared optional EXPLAIN hook. No duplicate state machine, execution path, decoder or runtime validation policy was introduced; obsolete protobuf references are removed. - Detailed output preserves search settings, pushed predicates, named expressions, integer boundaries and zero values. Malformed metadata returns an error before partial SQL JSON is published. Compact text remains compatible, and formatting does not mutate the reusable scan.
- Tests cover independent setting changes, malformed inputs, boundaries, compact/detailed behavior and real SQL results using small existing fixtures. Full delta: production +168/-32, UT +418/-50, BVT +150/-3; no documentation changes or new heavy test framework.
Validation was reused after independently checking all changed-file fingerprints and the full diff hash: six owning packages passed 155 root tests in normal and race modes; newly added maximum-signed cases additionally passed focused normal checks. The normal mo-tester golden comparison passed 115/115 assertions twice with zero failed, ignored or abnormal cases and verified teardown. Vet and configured incremental lint over 13 packages passed with zero issues. Unchanged IVF/classic-fulltext/fulltext2 evidence was reconciled separately. This review did not repeat unchanged test runs.
Performance: the added metadata decoding and formatting is reached by explicit SQL JSON EXPLAIN and VERBOSE text. Ordinary SQL execution and its frontend diagnostic JSON use BuildJsonPlan, which does not invoke the new hooks. Thus ordinary queries do not perform this added work. This is a call-graph conclusion, not a measured claim of exactly zero business-throughput difference. Compact HNSW text and internal trace retain their allocation counts/bytes. Detailed HNSW JSON costs approximately an additional 0.94 microseconds, 576 bytes and 10 allocations per one-node formatting operation in the retained historical comparison; shared-host timing is indicative.
Published comments had no unresolved actionable feedback at the review snapshot; the latest automated review was still pending. The current-head arm64 SCA job failed during checkout: all three Git fetch attempts ended in GnuTLS/TLS connection termination (exit 128), before static analysis ran: https://github.com/matrixorigin/matrixone/actions/runs/38383165946/job/115250347652 . This is not a source-code SCA diagnostic; remote CI is not claimed green.
Limits: GPU-tag/native compilation and GPU query execution remain unvalidated; common formatter contracts were tested on CPU. No fresh whole-repository, multi-CN or business-throughput run is claimed. This review covers the corrective PR and does not close the broader acceptance scope of #28301.
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 94d41c597e7cd18697292d26118121e6ab4eec62
Assessment: approve
Reviewed the complete 21-file delta, producers, callers, plugin ownership, tests and supplied comments. Detailed EXPLAIN preserves settings through existing decoders, compact output remains compatible, and malformed metadata fails without partial JSON. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a12d8f-7dea-77c2-a565-38d45b5564e4 · slot 0 · generation 0
Validation:
-
Six current owning packages passed 155 top-level tests with no failures or skips.
-
Independently reconciled and reused 63 unchanged fulltext/IVF tests and compact SQL controls passing 35/35 and 30/30.
-
Current SQL golden comparison passed 115/115 assertions twice on one isolated CN, with zero ignored cases and verified catalog cleanup.
-
CPU diagnostics using real HNSW/CAGRA/IVF-PQ plugins passed JSON rendering, integer precision, raw-predicate preservation and malformed-options checks.
-
Vet passed for 13 affected/consumer packages. Formatting, diff and plugin architecture checks passed. Isolation preflight passed; 192 native inputs and 62 artifacts matched retained provenance.
-
Source remained unchanged. Commands, source fingerprints, terminal receipts, log hashes and corrected reviewer-harness diagnostics are recorded in /home/xupeng/.local/state/mo-bot/jobs/d85d9cde280d8b3f086d1420/attempt-1/review-evidence.json.
Limitations:
-
GPU-tag compilation and device execution were not performed. Changed formatter methods passed CPU tests; registration, build tags and native APIs remain unchanged.
-
Validation used Go 1.27.1 with Sonic's encoding/json fallback. No fresh race, multi-CN, whole-repository suite or benchmark is claimed.
-
golangci-lint was unavailable. Author lint/race/benchmark summaries and CI Summary success were not treated as verified execution evidence.
-
Issue #28301's body was absent. Approval covers this corrective PR, not the broader feature's QA acceptance.
|
mo-bot work · Commit: Approve the unchanged complete candidate. Applicable validation remains complete; all three frozen failures map to two proven checkout-environment causes. The downstream Coverage check calculated no verdict. No material finding remains; queued/skipped CI remains unvalidated. Independent CI cause (no issue created): actions/checkout/github-git-fetch/gnutls-connection-terminated |
## What type of PR is this? - [x] BUG - [x] Test and CI ## Which issue(s) this PR fixes: Closes #30123 ## What this PR does / why we need it: An injected logtail receive error during `ddl_atomicity.sql` replaced the transport while DROP DATABASE obtained its read barrier. The retired stream's private cancellation escaped to the still-live SQL request. DROP DATABASE returned `context canceled`, left the database present and caused three subsequent BVT failures. Keep the read bounded by both its caller and its existing PushClient owner. Retry a read-only barrier only after its failed transport has been replaced, while its request remains live. Wait for the replacement's ready generation, obtain a fresh TN frontier, then use the existing apply waiter. Caller cancellation, deadlines, owner shutdown, an unchanged failed client and non-transport errors terminate the operation. The existing transaction ownership and original BVT fault probability/golden remain intact. The delivery changes two files: read-barrier handling and its deterministic regression tests. It is integrated with main `f14a1fa9ee`, which contains the separately merged EXPLAIN repair #30111 related to #30108. ## Validation - A deterministic regression uses actual LogtailClient instances, controlled morpc streams and real protobuf responses. The previous read-barrier source fails with `live caller abandoned during reconnect: context canceled`. - Reconnect, caller cancellation, owner shutdown, deadline, unreplaced-client and eight-concurrent-caller cases pass with 20 repetitions. They require a fresh replacement frontier and one apply wait per successful caller. - Both complete disttae/logtail-service packages pass normally (9.902s / 0.524s) and under race (12.618s / 1.455s). Focused barrier tests across both packages pass 100 race repetitions (2.438s / 1.881s). - After integrating current main, the complete EXPLAIN, disttae and logtail/service packages pass under race (2.639s / 11.272s / 1.543s). The read-barrier implementation and regression bodies are identical to the previously validated source. - Native source build and actual Java/mo-tester against an isolated two-CN local launch cluster pass the original DDL BVT three times (291/291 assertions) plus three strict runs with receive-fault probability increased from 5/100000 to 50/100000 (291/291). Combined: 582/582, zero ignored/failed/abnormal assertions. Logs record 25 injected receive errors within those six successful windows. - The initial amplified scratch fixture had an outdated parameterized result-column name. That failed setup run is excluded from 582; synchronizing the column name was followed by the three complete successful amplified runs. DDL outcome assertions were preserved. - Local checks use Go 1.27.1, v3/SIMD and existing native libraries. The two-CN native validation uses a local launch process and Java/mo-tester; required remote Compose jobs qualify the container deployment. Owned services were stopped. Gofmt and diff whitespace checks pass. ## Remote CI [MatrixOne ALL CI run 38398293278, attempt 2](https://github.com/matrixorigin/matrixone/actions/runs/38398293278) is successful on head `f1ebe024662b3c3e2447c5544310bbbaa74d7817`. Full x86 unit tests, SCA (license/format/static checks), shared native build, both PROXY/PESSIMISTIC Compose BVT groups, UT coverage, coverage aggregation and `CI Required` all passed. Changed-code coverage is 16/19 lines (84.21%), above the required 75% threshold; merged overall coverage is 79.88%. The first attempt's remaining failure was UT coverage checkout: three GitHub TLS connection failures before tests executed. Coverage aggregation consequently had no complete producer profile and calculated no verdict. Rerunning only failed jobs preserved the successful full unit suite, SCA, build and both BVT groups; the coverage producer, aggregation and final required check then passed. This PR remains a draft. --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [x] Test and CI ## Which issue(s) this PR fixes: Related to #30045. This regression-only PR does not automatically close the original deployment issue. ## What this PR does / why we need it: The original three-column view (`INT`, `VARCHAR(8)`, `DECIMAL(24,6)`) exposed stock SQLAlchemy reflection failures when DESCRIBE returned uppercase, width-bearing type strings. The production fix is already merged in [#29893](#29893), merge `f42af4dfcba210fd91b6f1fc5d7b5a72704502ee`. This PR records the scalar reproduction independently of BOOL aliases. The canonical BVT checks table/view DESCRIBE, view SHOW COLUMNS and ordered information_schema type/nullability values (`int`, `varchar(8)`, `decimal(24,6)`). The stock MySQL/PyMySQL Inspector test checks table/view names, types, width, precision/scale, nullability/defaults and absence of NullType or SAWarning, with committed setup and finally cleanup. The shared fixture uses `sa.engine.URL.create` and `future=True` so its existing commit/rollback calls work across SQLAlchemy 1.4 and 2.x. Existing BOOL, ENUM/SET, prepared metadata, restore and teardown cases remain intact. No production behavior changes. Integration and execution identity: - Normal main merge preserves the original PR history. Tested base: `5d971d07a7c5a52a71f2c10390b109cebf5c0825`; current test head: `e412b88e94940c352334d2d034a4fb22ee106ebc`. - Both actual merged prerequisites are ancestors: #29893 above, then [#30111](#30111), merge `f14a1fa9ee813529b7bde89ecc74dddca420dc00`, which repairs the former EXPLAIN/protobuf build break. Closed/unmerged #30110 is not a prerequisite. - Formal `make build-with-prebuilt-native` PASS with Go 1.27.1, CGo enabled and verified owned CPU native provenance. Service producer is `ef7f81acaeb3353e9ee3e62530dd6d3c8f8e83c3`, binary SHA256 `d11d383dcfeba4d188eea5a57888ded868dab634818bbd50ee4b886620a06b69`; its successor changes only the Python fixture. No rebuilt-successor claim. - Latest observed main `838bf5d1f8a34e09dc984b5e7d118bcbf2900ab9` is newer than the tested base. Its row-rule metadata visibility hook requires active rewrite rules, absent from these fresh-root fixtures. The prepared-policy change also touches ordinary PREPARE creation and therefore intersects the canonical fixture; latest-main runtime remains NOT_RUN and is not inferred from this exact tested-base evidence. No newer main merge is included. Current validation: - Canonical mo-tester: **64/64 statements twice**, exact result serialization and type cell comparison; standard `nometa` ignores JDBC field metadata. Database and snapshot teardown verified after both runs. - Stock SQLAlchemy **2.1.4** and **1.4.54**, PyMySQL **1.2.3**: the complete online reflection file passes **5/5 in each family**, zero failures/errors/skips; actual imports bind to the current SDK/worktree. The legacy-1.4 missing commit/rollback API was detected before the fixture fix. - Native Superset **6.1.0**, SQLAlchemy **1.4.54**: actual CreateDatasetCommand registration, persistence, reload and fetch_metadata PASS for the scalar view; INTEGER / VARCHAR(8) / DECIMAL(24,6), unchanged refresh and zero SAWarning including refresh. Its own SQLite app metadata and MO objects were cleaned. This is native production application API execution, not the official Linux deployment. - Both owned service groups and all Java/pytest/Superset child groups are stopped; native loader/ISCP and terminal catalog/cleanup checks passed. - SQL/Python default diff whitespace check PASS. The result file preserves three required last empty-cell separators; other whitespace checks and actual canonical comparison PASS. - Original build FAIL and the first wrapper's missing consumer database FAIL are retained. The latter followed successful canonical cleanup and is addressed by explicit consumer database admission; it is not a product semantic failure. Older `21f19` results remain supplemental and are not relabeled current-head evidence. QA required: yes. Deployed BI compatibility should be checked in the original Superset Linux image and original ten domain views; neither is claimed by local native application validation. Those deployment/issue-closure checks remain separate from this regression PR's current-source review and local correctness evidence. Independent review is complete for this regression scope; no merge or issue closure is requested. --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What type of PR is this?
Which issue(s) this PR fixes:
Related to #28301; follow-up correction for merged #28435. The original feature issue remains open for its broader QA acceptance.
What this PR does / why we need it:
At base
35c8dd585475, SQL JSON EXPLAIN cannot compile because it references obsoleteVECTOR_INDEX_SCAN/VectorIndexScansymbols. Use the authoritativeINDEX_SEARCH_SCAN/IndexSearchScancontract and preserve payloads, limits, ranges, filters and named algorithm expressions.Detailed EXPLAIN also loses meaningful settings stored in algorithm options. Different fulltext2 predicates/modes, IVF threads/bucket expansion, HNSW threads, CAGRA pushed filters and IVF-PQ probes can produce indistinguishable diagnostics. Restore those settings through each algorithm's existing decoder and EXPLAIN hook:
One detail flag on the existing internal hook selects compact or detailed output. JSON and explicit VERBOSE request details. Compact text remains compatible; HNSW/CAGRA/IVF-PQ return before decoding in compact mode. Numeric settings retain zero and full integer ranges. Raw predicate JSON retains order, whitespace, PK sentinels and large integers. Reuse existing ownership without another decoder, validation policy, cache, evaluator or SQL algorithm dispatch. Remove the redundant empty-expression guard covered by the shared renderer.
The change affects diagnostics. No planner eligibility, query execution, storage/protobuf format, native API or plugin registration/build-tag change.
Validation
Final local content:
94d41c597e7c. Linux/x86_64, Go 1.27.1, matching CGo provenance, CPU,GOMAXPROCS=2, bounded test/compiler concurrency.BuildSQLJSONPlannow distinguishes all three prior HNSW/CAGRA/IVF-PQ counterexamples. The diagnostic test is archived outside source and removed before commit; CPU production registration is unchanged.94d41c597e7c, covering the complete 21-file PR and reconciled terminal evidence.GPU-tag/native compilation and GPU query execution are unvalidated. The modified scalar formatter methods run in common CPU code; no tagged runtime/native/interface/registration seam changed. No whole-repository UT/BVT/Coverage, multi-CN or Connector/J workload claim. Remote CI is separate from these local results.