Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1210 commits
Select commit Hold shift + click to select a range
e784c47
fix: preserve arithmetic filter semantics through scan pruning (#29544)
XuPeng-SH Oct 1, 2026
79fa30e
Improve persisted-expression admission diagnostics and recovery cover…
XuPeng-SH Oct 1, 2026
113d374
fix(sql): preserve INTERSECT ALL multiplicity with one owner (#29543)
LeftHandCold Oct 1, 2026
152a1c4
fix: distinguish durable pipeline termination from queue delivery (#2…
XuPeng-SH Oct 1, 2026
32f5498
fix(morpc): unblock FIN teardown when writer exits (#29559)
XuPeng-SH Oct 1, 2026
c2cad8a
fix(planner): preserve exact integer filtering and nullable unique in…
XuPeng-SH Oct 1, 2026
a09f3a3
fix(sql): correct signed ROUND and close speculative evaluation failu…
XuPeng-SH Oct 1, 2026
3f6be2e
feat: execute embedded Sirius with bounded MO readers (#29547)
aunjgr Oct 1, 2026
7a169dd
fix(sql): preserve prepared numeric and temporal contracts (#29556)
XuPeng-SH Oct 2, 2026
b75086c
perf: reduce race UT configuration copy and fixture costs (#29561)
XuPeng-SH Oct 2, 2026
d50a2d4
perf: avoid registering unused Elasticsearch APIs for ESQL (#29563)
XuPeng-SH Oct 2, 2026
d59cc02
fix(index): keep synchronous FULLTEXT2 and HNSW builders on coordinat…
LeftHandCold Oct 2, 2026
401d153
test: enforce prepared DECIMAL peer pruning and binding reuse (#29570)
XuPeng-SH Oct 2, 2026
5a09e1f
Fix statistics-driven plan churn and predicate-aware join ordering (#…
XuPeng-SH Oct 2, 2026
9078a8b
fix(vector): restore UnionOne copy and marshal performance (#29573)
LeftHandCold Oct 2, 2026
d7e5d94
fix: preserve restore and clone authorization on main (#29532)
gouhongshen Oct 2, 2026
529ee09
Reduce race UT CPU cost and bootstrap polling waits (#29575)
XuPeng-SH Oct 2, 2026
fcd9686
Consolidate remote expression send fences and version probes (#29576)
XuPeng-SH Oct 3, 2026
822687b
refactor(sql): consolidate active owners and retire obsolete paths (#…
XuPeng-SH Oct 3, 2026
6249e48
refactor(txn): retire transaction data trace runtime (#29577)
XuPeng-SH Oct 3, 2026
b210a0a
fix: preserve nested prepared common-value domains (#29528)
ck89119 Oct 3, 2026
7368a3e
Restore prepared DML PK filtering without losing plan reuse (#29584)
LeftHandCold Oct 3, 2026
8daed14
Optimize packed DATETIME to Decimal128 conversion (#29581)
LeftHandCold Oct 3, 2026
ff4468a
fix(morpc): preserve live unary requests during idle GC (#29586)
LeftHandCold Oct 3, 2026
4197c6f
perf(function): discard evaluation-owned regexp runners without extra…
XuPeng-SH Oct 3, 2026
fbfab32
Avoid cloning pinned IVF exact-membership filter columns (#29583)
LeftHandCold Oct 3, 2026
a6fbf81
test: consolidate prepared DML regressions and persisted read budgets…
XuPeng-SH Oct 3, 2026
7ff3eac
perf: reduce bootstrap, metadata and buffer allocation costs (#29589)
XuPeng-SH Oct 3, 2026
c1c8ea9
fix(plan): accept utf32 charset compatibility aliases (#29590)
daviszhen Oct 3, 2026
205b06f
test(function): centralize fixture ownership and reduce contract test…
XuPeng-SH Oct 3, 2026
f1137a6
fix(iscp): avoid reporting timeout causes early (#29424)
jiangxinmeng1 Oct 3, 2026
0c3f7e0
fix remaining date/time compatibility issues (#28932)
jiangxinmeng1 Oct 3, 2026
f99019c
fix(frontend): retain DATETIME fractional width in text rows (#29076)
jiangxinmeng1 Oct 4, 2026
5e965de
fix(lockservice): bind CN drain completion to service instance (#29291)
VioletQwQ-0 Oct 4, 2026
ff53ee2
Fix primary-key runtime filter for index join backfill (#29466)
VioletQwQ-0 Oct 4, 2026
08ddb7e
Fix regexp timeout deadlines and numeric comparison/scaling boundarie…
XuPeng-SH Oct 4, 2026
1a2e591
fix: protect transaction context reuse and logtail progress (#28758)
Lcos-000 Oct 4, 2026
fdf96ba
fix(frontend): reuse authorization cache without stale grants (#29596)
XuPeng-SH Oct 4, 2026
a910a4d
fix: avoid per-batch lock-key preparation for index backfills (#29604)
LeftHandCold Oct 4, 2026
3eab55f
fix(cdc): fence target resets and reject keyless sources (#28521)
jiangxinmeng1 Oct 4, 2026
21f711a
fix(frontend): preserve SQL source through policy rewrite (#29600)
XuPeng-SH Oct 4, 2026
c2a9692
fix(sql): preserve CAST target metadata during filter folding (#29613)
LeftHandCold Oct 4, 2026
c3fbe9c
test(function): consolidate decimal contracts and fix full-scale alig…
XuPeng-SH Oct 4, 2026
a3aece1
fix(plan): preserve guarded prepared integer range access (#29612)
XuPeng-SH Oct 4, 2026
e4184cd
fix(txn): snapshot zombie transaction age under context lock (#29599)
XuPeng-SH Oct 4, 2026
37ba071
fix(hakeeper): preserve lock owner discovery during admission reset (…
XuPeng-SH Oct 4, 2026
856e9dd
fix: consolidate decimal expression contracts and historical bug regr…
XuPeng-SH Oct 5, 2026
43c3784
fix: enforce view authorization after scan elimination (#29617)
XuPeng-SH Oct 5, 2026
ce2a22a
fix: preserve prepared ROUND/TRUNCATE input before output CAST (#29625)
LeftHandCold Oct 5, 2026
d7c0754
refactor(readutil): retire obsolete PK extraction and conversion path…
XuPeng-SH Oct 5, 2026
625404f
test(function): consolidate string clock grammar coverage (#29628)
XuPeng-SH Oct 5, 2026
52904d5
refactor(function): retire duplicate unary execution paths (#29626)
XuPeng-SH Oct 5, 2026
35e750e
fix(plan): retain prepared NTILE integer context for text parameters …
LeftHandCold Oct 5, 2026
a267382
test: make process fixture resource ownership explicit (#29629)
XuPeng-SH Oct 5, 2026
494e0a0
refactor(function): consolidate strict binary execution and retire XO…
XuPeng-SH Oct 5, 2026
614ab46
fix: preserve execution failures across pipeline cancellation (#29619)
XuPeng-SH Oct 5, 2026
c659910
refactor(test): make planner fixture ownership explicit (#29638)
XuPeng-SH Oct 6, 2026
5c449cf
fix(vector): handle empty reversed prefix-between ranges (#29645)
LeftHandCold Oct 6, 2026
bbaa033
fix(fulltext): tokenize a quoted BOOLEAN phrase like the index (#2927…
cpegeric Oct 6, 2026
ffe8362
fix: preserve distributed Product execution and shared producer lifet…
XuPeng-SH Oct 6, 2026
5669b16
test: consolidate executor, aggregate, parquet and vector coverage (#…
XuPeng-SH Oct 6, 2026
ab829cb
feat(collation): add versioned metadata with legacy-only admission (#…
ck89119 Oct 6, 2026
d9eb0e0
fix(sql): honor empty scan decisions before constructing readers (#29…
XuPeng-SH Oct 6, 2026
143a03b
feat(vectorindex/metric): arm64 NEON SIMD distance kernels; build wit…
cpegeric Oct 6, 2026
281ca80
fix: preserve expression metadata and consolidate ownership regressio…
XuPeng-SH Oct 7, 2026
15cc623
fix(logservice): preserve Dragonboat constructor unwind and cleanup (…
XuPeng-SH Oct 7, 2026
d0d7869
perf(vector): skip empty marker lookups in UnionOne (#29664)
LeftHandCold Oct 7, 2026
4e58756
perf: improve large-query planning and adaptive memory control (#29646)
aptend Oct 7, 2026
3d796ac
fix: preserve retry outcomes and consolidate lifecycle coverage (#29663)
XuPeng-SH Oct 7, 2026
ea01190
perf(frontend): bound system catalog compatibility lookups by account…
LeftHandCold Oct 7, 2026
f20f5ca
perf: reduce BigData hidden-ID allocation and ordinary append overhea…
LeftHandCold Oct 7, 2026
bb12e1f
fix: make stopper retry shutdown deterministic (#29675)
XuPeng-SH Oct 8, 2026
8929ab4
fix(sql): preserve DECIMAL pruning for prepared integer comparisons (…
LeftHandCold Oct 8, 2026
bab4b32
fix(compile): retain shared broadcast producers across consumer retir…
LeftHandCold Oct 8, 2026
a85aeb5
docs/test: cover temporal compatibility exceptions (#29683)
jiangxinmeng1 Oct 8, 2026
35c1565
docs(sirius): record remaining embedding PR sequence (#29690)
aunjgr Oct 8, 2026
dce6063
test(morpc): synchronize client gc tests (#29674)
XuPeng-SH Oct 8, 2026
1a00887
fix(build): require Go 1.27.1 to avoid database/sql deadlocks (#29692)
XuPeng-SH Oct 8, 2026
ffcce7e
test: retire dead async worker and remove clock waits (#29679)
XuPeng-SH Oct 8, 2026
48f8178
test: own inline process pools for test lifetime (#29678)
XuPeng-SH Oct 8, 2026
d8b3f6a
test: make async tests deterministic (#29672)
XuPeng-SH Oct 8, 2026
5b7453a
fix(plan): parameterize local CTE outer references (#29372)
ck89119 Oct 8, 2026
56478b6
fix(branch): preserve stored BINARY bytes during SQL replay (#29697)
gouhongshen Oct 8, 2026
f6c86c9
docs: draft C02 connection encoding design (#29481) (#29651)
ck89119 Oct 8, 2026
d33bb6e
feat: support JSON_ARRAY_INSERT (#29519)
VioletQwQ-0 Oct 8, 2026
ca5008d
fix(shardservice): close owned RPC server and clean test fixtures (#2…
XuPeng-SH Oct 8, 2026
83d82b8
perf(frontend): reduce prepared metadata and privilege snapshot overh…
XuPeng-SH Oct 8, 2026
9df2c40
fix(lockservice): recover closed connections before unlock cleanup (#…
XuPeng-SH Oct 8, 2026
14e9669
fix(tae): preserve incremental conflict-check coverage (#29748)
XuPeng-SH Oct 8, 2026
5687147
fix: join disttae engine-owned workers on close (#29677)
XuPeng-SH Oct 8, 2026
241a936
test: guard ODKU metadata admission during concurrent DROP INDEX (#29…
XuPeng-SH Oct 9, 2026
23d8f61
fix: retain service owners during construction (#29676)
XuPeng-SH Oct 9, 2026
2726fb4
fix(datasync): honor cleanup cancellation and remove timing-based tes…
XuPeng-SH Oct 9, 2026
aee2a0b
fix(disttae): restore RC statement transfer state on rollback (#29754)
XuPeng-SH Oct 9, 2026
dca6ffc
test: extend multi-CN irregular index rebuild DML coverage (#29688)
Ariznawlll Oct 9, 2026
b6fa8cc
test: cover TRUNCATE with DECIMAL input and runtime INT precision (#2…
Lundomn Oct 9, 2026
c2c1031
feat(sql): support composite functional indexes (#29472)
daviszhen Oct 9, 2026
a238745
fix(plan): preserve row rewrite rules through views (#29695)
iamlinjunhong Oct 9, 2026
13d3f76
fix: reject unsupported MEDIUMINT aliases (#29758)
Lundomn Oct 9, 2026
9081663
fix(sql): return mathematical dot product from INNER_PRODUCT (#29711)
ck89119 Oct 9, 2026
0eb746f
perf(vector): skip scalar-null calls for flat UnionOne sources (#29756)
LeftHandCold Oct 9, 2026
ef75fda
fix(spillio): batch spill writeback within bounded cache window (#29771)
aptend Oct 9, 2026
d7621ea
docs: define general multilevel correlated subquery execution design …
ck89119 Oct 9, 2026
ec4338e
fix(frontend): preserve CSV row boundaries in split OUTFILE (#29778)
Lundomn Oct 9, 2026
5171a0c
fix external JSONLINE nulls in parallel load (#29773)
VioletQwQ-0 Oct 9, 2026
0adbadb
test: preserve JSON_ARRAY_INSERT NULL compatibility (#29770)
VioletQwQ-0 Oct 9, 2026
efdbd7d
fix(sql): reject incompatible binary casts in regexp expressions (#29…
ck89119 Oct 9, 2026
a04c6fb
feat(plan): support IVF-FLAT Top-K under equi INNER JOINs (#29767)
ck89119 Oct 9, 2026
b654175
Revert "fix(sql): return mathematical dot product from INNER_PRODUCT"…
ck89119 Oct 9, 2026
c08b80c
fix(sql): preserve prepared numeric cast rounding (#28621)
iamlinjunhong Oct 9, 2026
3c35b3b
perf(optools): bound race UT critical path safely (#29760)
XuPeng-SH Oct 9, 2026
d2a0055
fix(objectio): isolate shared metadata load cancellation (#29779)
ck89119 Oct 9, 2026
dfd7756
fix(plan): preserve join pushdown for independent CTE consumers (#29793)
ck89119 Oct 9, 2026
72d4a49
perf: reduce clone metadata work and isolate checkpoint replay (#29769)
gouhongshen Oct 9, 2026
4942f88
perf(mpool): track on-heap ownership per pool (#29353)
gouhongshen Oct 9, 2026
f5268b1
fix(frontend): preserve KILL QUERY interruption identity (#29794)
XuPeng-SH Oct 9, 2026
af3f723
fix(frontend): publish prepared result metadata after schema retry (#…
aunjgr Oct 9, 2026
8f48d6f
fix(sql): preserve UUID NULL and mixed character semantics (#29800)
XuPeng-SH Oct 9, 2026
a6e19cc
fix(cdc): replay failed target transactions and preserve error accoun…
XuPeng-SH Oct 9, 2026
a9ddda3
perf(optools): add opt-in bounded race UT waves (#29795)
XuPeng-SH Oct 10, 2026
2684af8
fix(ci): preserve UT cancellation ownership and cleanup failures (#29…
XuPeng-SH Oct 10, 2026
3f4024d
fulltext2: reuse prefix iterator posting offsets (#29696)
VioletQwQ-0 Oct 10, 2026
0ccc989
feat(sql): add durable cluster-scoped UUID_SHORT() (#29805)
XuPeng-SH Oct 10, 2026
62827a1
fix: bound statement_info diagnostics to TEXT capacity (#29812)
XuPeng-SH Oct 10, 2026
888e1ea
feat: add C02 bounded encoding codec foundation (#29750)
ck89119 Oct 10, 2026
6aa6173
feat(collation): wire native Unicode CI semantics (#29601)
daviszhen Oct 10, 2026
e5dd472
test: avoid stale account ids in statement info BVT (#29817)
iamlinjunhong Oct 10, 2026
8adb9d8
fix(bootstrap): resume interrupted upgrades before advancing targets …
ck89119 Oct 10, 2026
fe7e01d
fix(fileservice): retry replayable COS PUT on HTTP EOF (#29820)
LeftHandCold Oct 10, 2026
af5a75c
feat(sirius): lower MO exact decimals for embedded GPU execution (#29…
aunjgr Oct 10, 2026
d5faee3
fix(plan): guard IVFFLAT residual distance predicates (#29792)
iamlinjunhong Oct 10, 2026
45a8d1b
test: fence cross-CN BigData visibility (#29821)
ck89119 Oct 10, 2026
5af34c7
fix(sql): persist self-referential foreign key metadata (#29829)
daviszhen Oct 10, 2026
652c643
Fix UTF-8 statement diagnostics and bound prepared logging work (#29826)
XuPeng-SH Oct 10, 2026
590601d
[JSON] add bounded JSON_TABLE foundation primitives (#28924)
VioletQwQ-0 Oct 10, 2026
8cc9167
fix(sysview): expose native Unicode collation metadata (#29828)
daviszhen Oct 10, 2026
1335f9f
Preserve DATA BRANCH temporal key identity (#29822)
gouhongshen Oct 10, 2026
a059450
fix(plan): enforce charset-aware VARCHAR declaration limits (#29816)
ck89119 Oct 10, 2026
9e1c2d8
perf(optools): bound embedded race package overlap (#29807)
XuPeng-SH Oct 10, 2026
5d57df1
fix(sql): support string and temporal operands in SUM/AVG (#29819)
ck89119 Oct 10, 2026
64b715a
Improve statement_info diagnostics with bounded multivariate levels (…
XuPeng-SH Oct 10, 2026
dd38098
feat(plan): add bounded read-only view schema requests (#29633)
ck89119 Oct 10, 2026
d7752ff
test: reduce CDC discovery waits and partition fixture footprint (#29…
XuPeng-SH Oct 11, 2026
4022729
fix(sql): avoid lifecycle convoy for scalar RC truncate (#29837)
XuPeng-SH Oct 11, 2026
03c34f8
fix(idxcron): preserve quoted catalog names and JSON literals (#29866)
XuPeng-SH Oct 11, 2026
4572ca1
fix(frontend): reject overflowing length-encoded lengths instead of p…
MatrixAdventurer Oct 11, 2026
90a822e
test: avoid per-row TN flushes in parallel INTERSECT fixture (#29858)
XuPeng-SH Oct 11, 2026
42d4254
fix(idxcron): scope task status updates to full catalog key (#29873)
XuPeng-SH Oct 11, 2026
a6eba2d
feat(collation): establish versioned index key format (#29834)
daviszhen Oct 11, 2026
e454407
fix: validate identifier encoding and preserve legacy catalog keys (#…
XuPeng-SH Oct 11, 2026
1988a97
fix: preserve parquet float infinities and bounded string widths (#29…
iamlinjunhong Oct 11, 2026
5f94c8f
fix(embed): exclude cluster startup from recovery workload budget (#2…
XuPeng-SH Oct 11, 2026
f09d478
fix(collation): align unique index duplicate precheck (#29890)
daviszhen Oct 11, 2026
4e959d7
fix(plan): don't panic on nil vector-search thread variables in proce…
MatrixAdventurer Oct 11, 2026
73149a3
fix(plan): don't panic on nil IVFPQ/CAGRA variables in procedures (#2…
MatrixAdventurer Oct 11, 2026
485bdf6
fix(types): preserve Decimal128 precision and single rounding (#29853)
MatrixAdventurer Oct 11, 2026
c3d80e2
fix(load): fail strict JSONLINE scan on incomplete record at EOF (#29…
MatrixAdventurer Oct 11, 2026
1f53fc8
fix(frontend): validate and safely initialize Starlark LLM clients (#…
MatrixAdventurer Oct 11, 2026
9dcd82d
fix parquet outfile round trips and splitting (#29804)
iamlinjunhong Oct 11, 2026
61d8e28
fix(types): round Decimal256 text once to the column scale (#29884)
MatrixAdventurer Oct 11, 2026
d382fd5
fix: honor database qualifiers in correlated column binding (#29891)
XuPeng-SH Oct 11, 2026
f42af4d
fix(sql): unify replayable MySQL column type metadata (#29893)
XuPeng-SH Oct 11, 2026
e6606fc
fix: remove lifecycle waits from embedded race fixtures (#29875)
XuPeng-SH Oct 11, 2026
6af999e
fix(stage): reject access to disabled stages (#29833)
iamlinjunhong Oct 11, 2026
41ac624
fix(iscp): deliver trailing delete so a branch delete shadows a copie…
gouhongshen Oct 11, 2026
5cc6816
Fix IVFFLAT membership metadata and retry filtering (#29835)
iamlinjunhong Oct 11, 2026
a5b7d1e
fix(load): keep empty ENUM member and empty SET distinct from NULL (#…
MatrixAdventurer Oct 11, 2026
2c9399d
fix: preserve constant window partition and order keys (#29916)
XuPeng-SH Oct 11, 2026
6812abb
fix(sql): retain DECIMAL access for prepared integer consumers (#29920)
LeftHandCold Oct 11, 2026
035a5b6
fix(frontend): honor EOF capability for COM_SET_OPTION (#29915)
daviszhen Oct 11, 2026
79d746a
fix(sql): validate forward foreign keys at DDL admission (#29867)
XuPeng-SH Oct 12, 2026
5a5501b
fix(sql): lower scalar window inputs and repair NULL and empty reuse …
XuPeng-SH Oct 12, 2026
7391899
test(sql): cover truncate lifecycle waits and cancellation (#29827)
aptend Oct 12, 2026
02a2823
fix(sql): preserve complete join expression ownership (#29919)
XuPeng-SH Oct 12, 2026
7af631b
feat(sirius): add complete public SQL GPU acceptance campaign (#29862)
aunjgr Oct 12, 2026
6e477ec
fix(txn): preserve logger ownership during runtime retirement (#29921)
XuPeng-SH Oct 12, 2026
64b7a43
fix(sql): preserve single empty member ENUM and SET domains (#29913)
XuPeng-SH Oct 12, 2026
f02abe3
fix(sql): honor escape parity in LIKE fast paths (#29976)
ck89119 Oct 12, 2026
225fe4f
fix async ivfflat include and generated column updates (#29698)
iamlinjunhong Oct 12, 2026
f536057
fix(taskservice): keep positive sub-second SQL task timeouts (#29982)
MatrixAdventurer Oct 12, 2026
080365f
feat(sql): add hyperbolic scalar functions (#29987)
ck89119 Oct 12, 2026
d865e54
docs/test: document Spark JDBC READ_COMMITTED and TopN ANY NULL (#29953)
Lundomn Oct 12, 2026
3d1dbe4
fix: implement MySQL MEDIUMINT semantics (#29818)
Lundomn Oct 12, 2026
f1fc3f9
fix(sql): enforce zero-width parquet text columns (#29988)
iamlinjunhong Oct 12, 2026
7b16e02
fix(frontend): accept first all-NULL server-prepared execution (#29991)
iamlinjunhong Oct 12, 2026
1abfd60
fix(mysql): support SHOW GRANTS FOR CURRENT_USER (#29993)
daviszhen Oct 12, 2026
da3b8a8
fix(sql): retain native DECIMAL carrier for prepared TEXT comparisons…
LeftHandCold Oct 12, 2026
f802ab6
fix(parquet): complete spatial, datalink and vector round trips (#29997)
iamlinjunhong Oct 12, 2026
1191452
fix: resolve NULL window domains and exclude NULL tails from finite R…
XuPeng-SH Oct 12, 2026
908b5fd
fix(frontend): alias innodb_lock_wait_timeout to native lock_wait_tim…
VioletQwQ-0 Oct 12, 2026
7fb9a93
fix(types): validate Decimal256 tails after retained digits (#29956)
iamlinjunhong Oct 12, 2026
70f6092
fix(fulltext): guard single double-quote in boolean mode (#29896) (#3…
cpegeric Oct 12, 2026
b09f2c6
fix(disttae): batch catalog ID lookups for table statistics (#29983)
LeftHandCold Oct 12, 2026
cd8d5ab
IndexSearchScan for all index searches; remove the search TVFs (#2745…
cpegeric Oct 12, 2026
8eb941e
test(sql): cover maximum TEXT display length DDL (#29901) (#30019)
Lundomn Oct 12, 2026
0a4db0e
test(sql): cover NULL lag and lead defaults across partitions (#30020)
XuPeng-SH Oct 12, 2026
a175874
fix(sql): expose Unicode collation in SHOW FULL COLUMNS (#29912)
daviszhen Oct 12, 2026
2f43dee
fix(frontend): preserve buffered TLS handshake bytes (#29996)
daviszhen Oct 12, 2026
057755d
fix(sql): preserve BIGINT precision with narrow unsigned common types…
iamlinjunhong Oct 12, 2026
43fd75b
Correct numeric COALESCE metadata during PREPARE (#30035)
iamlinjunhong Oct 12, 2026
e43be75
fix: support FORMAT_BYTES and FORMAT_PICO_TIME built-ins (#30036)
iamlinjunhong Oct 12, 2026
efe414f
test(logservice): recover bounded gossip fixture bind collisions (#30…
XuPeng-SH Oct 12, 2026
fa7cc1d
perf(planner): normalize disjunctions once per logical component (#30…
XuPeng-SH Oct 12, 2026
cfbb5d9
fix(frontend): honor CREATE PUBLICATION IF NOT EXISTS (#29981)
jiangxinmeng1 Oct 12, 2026
87ade1b
fix(plan): honor runtime filter disable hint across optional paths (#…
XuPeng-SH Oct 12, 2026
3e50e1b
test: repair CI TERM handshakes, port candidates, and TopN coverage (…
XuPeng-SH Oct 12, 2026
175a645
fix(sql): preserve filtered UNION ALL right branch columns (#30015)
Ariznawlll Oct 13, 2026
e511193
fix(parser): accept reserved words in qualified identifiers (#30027)
iamlinjunhong Oct 13, 2026
6b0da62
fix(sql): compare mixed integer domains exactly (#30043)
XuPeng-SH Oct 13, 2026
21f19ae
perf(sql): skip prepared zero-limit producer builds (#30044)
XuPeng-SH Oct 13, 2026
ef50244
feat: support EXPLAIN FORMAT=JSON (#28435)
VioletQwQ-0 Oct 13, 2026
35c8dd5
ci(python-sdk): activate root Actions workflow and dependency matrix …
dengn Oct 13, 2026
f14a1fa
fix(explain): align shared index scans and preserve search settings (…
XuPeng-SH Oct 13, 2026
47bbf28
perf(vector): avoid eager varlen extraction for legacy collations (#3…
LeftHandCold Oct 13, 2026
8586fa0
fix: support LOAD DATA SET NULLIF with row variables (#30022)
Lundomn Oct 13, 2026
c5208fc
fix(disttae): retain read barriers through logtail reconnects (#30109)
dengn Oct 13, 2026
0a8a28f
fix(catalog): allow repeated rename swaps across historical name bind…
XuPeng-SH Oct 13, 2026
de4bec0
fix: preserve set-operation columns through remapping (#30028)
XuPeng-SH Oct 13, 2026
5c95955
Clarify snapshot restore and branch merge diagnostics (#29958)
gouhongshen Oct 13, 2026
1b66ff1
fix(sql): align WEEK and DAYOFYEAR result type contracts with MySQL (…
iamlinjunhong Oct 13, 2026
9d557f9
fix(planner): honor query-level IVF nprobe options (#30002)
iamlinjunhong Oct 13, 2026
f59ee91
fix(sql): preserve HNSW index DDL in stored procedures (#30133)
VioletQwQ-0 Oct 13, 2026
2675c63
fix(doc): Contribution Guide link in README (#30135)
zuyu Oct 13, 2026
a2b9859
fix(sql): enforce table column limits and guard sequence allocation (…
XuPeng-SH Oct 13, 2026
8aaa8ae
fix(geometry): close intersection, admission and MySQL wire contracts…
XuPeng-SH Oct 13, 2026
dd5bdb7
fix(parser): accept subscription as an unquoted identifier (#30126)
iamlinjunhong Oct 13, 2026
bcd4cb9
fix(sql): retain external NULLIF rules across plan rebuilds (#30095)
dengn Oct 13, 2026
b468f16
fix(disttae): validate partitioned ODKU against the resolved locked k…
LeftHandCold Oct 13, 2026
35aa60f
fix(sql): admit view replacement before database locks (#30092)
LeftHandCold Oct 13, 2026
f02952f
fix(sql): allow no-op primary-key upserts (#29967)
Lundomn Oct 13, 2026
2ce4e58
test(plan): align NULLIF rebind checks with assignment skipping (#30138)
XuPeng-SH Oct 14, 2026
fcad62a
fix(frontend): accept parenthesized ALTER ADD COLUMN lists (#29963)
Lundomn Oct 14, 2026
5d971d0
fix(plan): handle empty indexed FK cascades and cover self-FK ALTER (…
aptend Oct 14, 2026
6ca4363
[Bug]: hide rewritten columns from information_schema.columns (#29830)
iamlinjunhong Oct 14, 2026
e17fc0f
fix(frontend): invalidate prepared row-rule statements after policy r…
iamlinjunhong Oct 14, 2026
5652252
feat: enable cost-based window hash partitioning (#28608)
iamlinjunhong Oct 14, 2026
959d12d
Preserve SQL NULL at the Starlark procedure boundary (#30131)
VioletQwQ-0 Oct 14, 2026
838bf5d
docs: use the embedded MO-scan integration branch (#30143)
aunjgr Oct 14, 2026
c4a2108
fix: tidy Iceberg adapter module for Go 1.27.1 (#29959)
Ariznawlll Oct 14, 2026
ec7a910
fix: enforce TIME assignment bounds for external LOAD (#29969)
iamlinjunhong Oct 14, 2026
a53390c
Fix BuildJsonPlan statistics snapshot race (#30136)
VioletQwQ-0 Oct 14, 2026
071a79b
fix: preserve row rewrite rules through CTAS (#29707)
iamlinjunhong Oct 14, 2026
7cfc0b4
feat(sql): add NOWAIT and shared SKIP LOCKED
Lundomn Oct 13, 2026
bb41029
fix(sql): close nonblocking lock retry and cleanup gaps
Lundomn Oct 13, 2026
6ae3400
fix lock cleanup after fatal no-wait fence
Lundomn Oct 13, 2026
b3738a8
fix lock skip-locked retry after multi-target conflict
Lundomn Oct 13, 2026
14e5a5f
fix(lockservice): snapshot pooled requests in async callbacks
Lundomn Oct 14, 2026
e437b8e
fix(lockservice): move nonblocking locks to protocol v113
Lundomn Oct 14, 2026
72b6d9e
docs(lockservice): correct protocol 113 comments
Lundomn Oct 14, 2026
08e550d
chore(sql): isolate lock parser generation
Lundomn Oct 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
401 changes: 226 additions & 175 deletions .agents/skills/mo-dev/SKILL.md

Large diffs are not rendered by default.

126 changes: 90 additions & 36 deletions .agents/skills/mo-dev/references/cgo-build-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,63 @@ Prefer the repository wrapper for arbitrary packages and test flags:
.agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=240s ./pkg/target/...
```

Linked worktrees do not contain ignored build artifacts. When the current
worktree lacks `cgo/libmo.dylib` on macOS or `cgo/libmo.so` on Linux (or lacks
`thirdparties/install`), the wrapper automatically considers the primary
worktree's platform-matched artifacts. It reuses them only when `Makefile`,
`cgo/`, and `thirdparties/` are clean and identical at both revisions and the
primary artifact carries a matching source/platform/build-key provenance
stamp written by the top-level `make cgo` target. The target owns a
`prepare -> clean when required -> begin -> build -> record` protocol: CGo
source/header and CPU/GPU or release/debug changes clean all CGo outputs;
SIMSIMD, Makefile, thirdparty, platform, missing-stamp, or corrupt-stamp changes
clean both thirdparties and CGo. An interrupted generation stays non-reusable
and is cleaned again on the next build. This prevents an incremental no-op from
simply relabeling an old library as current. Missing, stale, CPU/GPU/SIMSIMD-
mismatched, or post-stamp-modified artifacts are rejected with a local rebuild
request. The first top-level build after this guard is introduced intentionally
performs one full native rebuild before reuse is possible.

Cross-worktree reuse is best-effort, never required for correctness. Git
layouts that do not expose a real primary checkout (for example, a linked
worktree created from an unconfigured `--separate-git-dir` repository) are
rejected instead of guessing a filesystem path; build the native artifacts in
the current worktree in that environment.

An exported/non-Git source tree keeps the historical incremental `make cgo`
behavior and never publishes a reusable stamp. `make -n`, `make -t`, and
`make -q` also remain non-mutating; they do not create generation markers or
clean native outputs.

Do not invoke the provenance helper's `record` operation directly or manually
create symlinks before trying the wrapper. The former is rejected without the
build-generation marker, and the latter bypasses the guard and leaves untracked
setup residue in the review worktree. Validate changes to this protocol with:

Top-level `make cgo` already builds and stages thirdparties as the single
complete-generation owner. Do not precede it with standalone `make
thirdparties`: a partial generation has no complete stamp and is intentionally
discarded by `make cgo`. Direct `make -C thirdparties` followed by `make -C
cgo` remains the separate ordered contract used by Docker native stages.

```bash
.agents/skills/mo-dev/scripts/mo-native-provenance-test
.agents/skills/mo-dev/scripts/mo-native-build-contract-test
.agents/skills/mo-dev/scripts/mo-cgo-test-worktree-artifacts-test
```

It verifies host/target and CGo prerequisites, enforces the repository's
`GOWORK=off` and `-mod=readonly` contract, removes ambient CGo flag drift,
chooses the supported OS library/loader form, and gives temporary test
executables absolute rpaths. It is a local CPU-test entry point; GPU and static
cross-builds have different toolchain contracts and remain explicit workflows.
`GOFLAGS`, `GOEXPERIMENT`, `CC`, and `CXX` remain caller-owned inputs; record
them when attribution or reproducibility depends on them, and ensure native
artifacts were built from the same source generation.
`GOFLAGS` and `GOEXPERIMENT` remain caller-owned Go inputs. Native provenance
also hashes supported compiler/SDK/flag override values (including `CC`,
`CXX`, and GPU environment selectors), so a custom profile cannot alias the
default profile. It does not fingerprint compiler or SDK installation bytes;
record exact tool versions separately when attribution or reproducibility
depends on them. GPU Pixi lock changes invalidate the common provenance and
force a full thirdparty rebuild even if compiler paths stay unchanged.

### Why test rpaths differ from packaged binaries

Expand Down Expand Up @@ -287,66 +336,66 @@ cannot erase the evidence before comparison.

GPU support compiles the CUDA-backed vector index algorithms (**CAGRA**, **IVF-PQ**) into `libmo` and turns on the `gpu` Go build tag. Linux x86_64 only. The macOS Makefile branch carries no CUDA flags, so macOS builds are CPU-only. Do not try to enable it on Darwin.

Prerequisites:

1. CUDA toolkit matching the versions pinned by
`optools/images/gpu/Dockerfile` and
`optools/images/gpu/go_cuda-130_arch-x86_64.yaml`, installed under the path
expected by those files. Do not infer an unsupported version range.
2. cuVS Go bindings installed from the repository's Linux x86_64 environment
file and the environment activated so `CONDA_PREFIX` is exported. Prefer the
builder stage in `optools/images/gpu/Dockerfile` when a container runtime is
available. Building does not require a GPU device; executing GPU workloads
requires a compatible NVIDIA host/runtime.
GPU builds use the frozen Pixi profile in `optools/gpu/pixi.toml`; system
CUDA/Conda and a separate GPU toolchain manifest are not providers. CPU-only
builds do not invoke Pixi. MO GPU-only builds use MO's profile; combined
MO/Sirius builds use Sirius's `mo` profile for both components. Compilation
needs no GPU device, but execution needs a compatible NVIDIA host driver.

```bash
conda env create --name go -f optools/images/gpu/go_cuda-130_arch-x86_64.yaml
conda activate go
```

Build:

```bash
MO_CL_CUDA=1 make -j8
cd optools/gpu
pixi run --frozen make -C ../.. MO_CL_CUDA=1 -j8
```

What `MO_CL_CUDA=1` flips:

| Layer | CPU build | GPU build (`MO_CL_CUDA=1`) |
|-------|-----------|----------------------------|
| Go build tag | none | `-tags gpu` -- registers CAGRA + IVF-PQ, compiles `*_gpu.go` |
| `cgo/` compiler | `gcc`/`clang` | `/usr/local/cuda/bin/nvcc` |
| `cgo/` compiler | `gcc`/`clang` | Pixi `bin/nvcc` with Pixi host compiler |
| `libmo` objects | C objects only | + `cuda/*.o` + `cuvs/*.o` |
| Runtime sidecar | none | `mocl_kernel64.fatbin` beside `mo-service` |
| Link flags | `-lusearch_c -lroaring` | + `-lcuvs -lcuvs_c -lcudart -lcuda -lrmm -lstdc++` |
| Header/lib roots | thirdparties only | + `$CONDA_PREFIX/{include,lib}`, `/usr/local/cuda/...` |
| Header/lib roots | thirdparties only | + Pixi `include/lib` and `targets/x86_64-linux/include/lib` |

Guardrails:

- `CONDA_PREFIX env variable not found`: conda env not activated. Run `conda activate <env>` first. This is not a code bug.
- Missing Pixi activation or CUDA/cuVS files: use `pixi run --frozen` and
verify the locked environment. There is no system CUDA fallback. A shell
stays activated after
`eval "$(pixi shell-hook --manifest-path optools/gpu/pixi.toml --frozen)"`;
plain `make MO_CL_CUDA=1 -j8` then works from the repository root.
- `gmake[2]: *** internal error: invalid --jobserver-auth string 'fifo:...'`:
CMake ran the host `gmake` under Pixi's make 4.4. The Pixi activation sets
`CMAKE_GENERATOR=Ninja`; the error means the build ran without it. Do not pass
`--jobserver-style=pipe`: ninja ignores a pipe jobserver and schedules
outside the outer `-j` budget.
- `libmo` is re-linked on every GPU build deliberately because `mo-service` loads `libmo.so` dynamically. A stale `.so` silently runs old C++.
- Use the top-level build owner. It content-binds and atomically stages
`mocl_kernel64.fatbin` beside `mo-service`; direct `make -C cgo` does not
produce a complete distributable GPU generation.
- Always pass `-j8`. The cuVS/CUDA objects dominate a GPU build and a single-threaded `make` stalls the edit-build-test loop for minutes at a time.

The `gpu` tag gates index-plugin registration. CAGRA and IVF-PQ register only under `//go:build gpu` (`pkg/indexplugin/all/all_gpu.go`). On a CPU binary their plugins are absent from the registry, so `CREATE INDEX ... USING ivfpq|cagra` fails cleanly at plan-build with `unsupported index type: <algo>` before hidden table creation. Do not move those imports into `all.go`.

The linked `libmo` must itself be GPU-built:

```bash
MO_CL_CUDA=1 make -j8 cgo
cd optools/gpu
pixi run --frozen make -C ../.. MO_CL_CUDA=1 -j8 cgo
```

GPU tests need `-tags gpu` plus CUDA search paths. Linux only:
GPU tests need the `gpu` tag and Pixi CUDA search paths. The repository
wrapper supplies both after validating the native generation. Linux only:

```bash
gpu_package=./pkg/vectorindex/ivfpq/... # set to the affected GPU algorithm package
CGO_CFLAGS="-I$(pwd)/cgo -I$(pwd)/thirdparties/install/include -I$CONDA_PREFIX/include -I/usr/local/cuda/include" \
CGO_LDFLAGS="-L$(pwd)/thirdparties/install/lib -lusearch_c -L$CONDA_PREFIX/lib -lcuvs -lcuvs_c" \
LD_LIBRARY_PATH="$(pwd)/cgo:$(pwd)/thirdparties/install/lib:$CONDA_PREFIX/lib:/usr/local/cuda/lib64" \
GOWORK=off go test -mod=readonly -tags gpu \
-ldflags="-extldflags '-L$(pwd)/cgo -lmo -L$(pwd)/thirdparties/install/lib -Wl,-rpath,$(pwd)/cgo -Wl,-rpath,$(pwd)/thirdparties/install/lib -Wl,-rpath,$CONDA_PREFIX/lib -Wl,-rpath,/usr/local/cuda/lib64 -fopenmp'" \
-v -count=1 -timeout 300s "$gpu_package"
pixi run --frozen env MO_CL_CUDA=1 \
../../.agents/skills/mo-dev/scripts/mo-cgo-test \
-v -count=1 -timeout=300s ./pkg/vectorindex/ivfpq/...
```

The authoritative flag source is the Makefile (`CUDA_CFLAGS` / `CUDA_LDFLAGS`), not this snippet. If a GPU link error appears, diff your flags against those lines.
The authoritative flag source is the Pixi profile consumed by Make and the
wrapper. Do not hand-assemble a second CUDA search path.

Tag-split test files are a trap: `*_gpu.go` / `//go:build gpu` tests compile only under `-tags gpu`. A plain `go test ./pkg/vectorindex/ivfpq/...` runs `//go:build !gpu` / `*_cpu.go` stubs instead. CPU tests passing does not test the GPU path.

Expand Down Expand Up @@ -394,6 +443,12 @@ and appending would discard the caller's. The effect was a false green:
package's 2 GPU test files while reporting a pass. `mo-cgo-test-tags-test` pins every form
and needs no GPU, CUDA toolkit or built libmo.

Go test executables run from temporary directories, so they cannot find the
production sidecar beside the repository's `mo-service`. The wrapper verifies
the selected generation and exports `MO_CUDA_FATBIN_PATH` to its stamped
executable-side copy before starting `go test`; do not copy an arbitrary fatbin
into Go's temporary build directories.

Stubbing `go` is not enough to earn that, and the first version of the test wrongly
claimed it: the wrapper resolves its repository from its own location and rejects the run
unless `cgo/libmo.so` and `thirdparties/install/include` exist there, before it would ever
Expand All @@ -410,4 +465,3 @@ predates it ignores `MO_CL_CUDA` entirely and fails to link a GPU-built `libmo`
`grep -c MO_CL_CUDA .agents/skills/mo-dev/scripts/mo-cgo-test` before concluding the tree is
broken; borrow a newer copy into the repo root if needed (it derives the repo from its own
location, so it must sit inside the worktree).

7 changes: 5 additions & 2 deletions .agents/skills/mo-dev/references/counterexample-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ Comments and implementation assumptions are not evidence. A nil check proves def
4. Add the narrowest white-box test when it proves a distinct internal transformation, totality, or state-boundary claim.
5. Vary independent dimensions around the witness, including both controls and counterexamples.
6. Use differential or metamorphic relationships where a direct expected value would duplicate implementation logic.
7. Run the tests against the unfixed revision and record the intended failure reason.
7. Establish or reuse evidence valid under
[validation-evidence.md](validation-evidence.md) that the same tests fail on
the unfixed revision for the intended semantic reason; do not make every
reviewer rerun an identical historical baseline.
8. Apply the production fix, then rerun the same tests.
9. Remove redundant cases and retain one reason for every remaining row.
10. Place tests at their natural ownership layer: focused unit coverage near the invariant and public-path regression coverage near the user-visible contract.
Expand Down Expand Up @@ -187,7 +190,7 @@ Before accepting a regression change, verify:
```text
□ The invariant and its negation are explicit.
□ For an externally visible claim, the public-path witness proves the internal state is reachable; an internal-only contract is explicitly documented as such.
□ The unfixed revision fails for the claimed reason.
□ Valid, reviewable evidence shows the unfixed revision fails for the claimed reason.
□ The fixed revision passes with the same assertions.
□ A black-box semantic oracle exists when behavior is externally visible.
□ White-box assertions inspect stable typed structure, not incidental layout.
Expand Down
Loading
Loading