Repository navigation
feat: add experimental metadata-only ADD for nullable columns - #30816
VioletQwQ-0 wants to merge 50 commits into
Conversation
Use main's scan-local snapshot transaction/context helpers in both modes. Retain M0 remote bound-transaction checks, pipeline cancellation/account precedence, and the immutable statement view during tombstone collection. Remove the superseded M0-only process-clone selection helper. Retain upstream mixed-snapshot SQL/BVT coverage. Keep the pinned linter unchanged pending acceptance of the narrowly scoped recovery rules in matrixorigin/linter#56.
Run shared dispatch, account/cancellation and physical-header regressions in both build modes, preserving tagged authority validation and all existing assertions. Share the unchanged watermark checker while keeping production registration M0-only. Add carrier/clone isolation and missing-owner controls. Keep the required recovery boundaries and pinned linter unchanged pending acceptance of matrixorigin/linter#56. Remote CI remains to verify coverage.
|
This pull request is closed, so it cannot be queued. Reopen it to get the box back. |
|
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: a0cc35177a38bf59743c35de1f8f6616b9627718
Assessment: request_changes
The earlier ordinary-reader rejection and partition-admission findings are addressed. AR-1 materially changes the approved R2 architecture, but approval covering its new persistent authority and Engine read contracts is not established. Dependent implementation review remains deferred.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
- P2
docs/design/20261027-m0-read-boundary-r3.md:10: AR-1 introduces persisted SchemaExtra.M0Evolution authority, distinct layout generations and Engine-owned read contracts beyond the traceably approved R2 design.
Impact: The repository’s mandatory design gate remains unmet. Record a review decision approving an exact AR-1 design revision, covering authority ownership, clone/recovery/backup and compatibility boundaries, before resuming implementation approval. The existing document can carry this decision.
Evidence: feature-design-review.md:63–84 requires traceable approval and re-review of material deviations. The verified R2 approval hash is 444e7bfc9f0a5b333435b90a7f9b93a70109aeb5232749a0ab018bcc3324eeed. That design and Fengttt’s later approval predate AR-1’s new persisted contract in proto/api.proto:423. The AR-1 handoff leaves architecture acceptance pending; no qualifying revised-design approval appears in the frozen evidence.
Validation:
-
Static audit passed for frozen source, patch, 225-file inventory, whitespace and design hashes; receipt checks/1794341077590401425-3.json matches retained logs.
-
Assessed all 41 discussion entries and linked issue context; discussion-assessment.json has complete unique key coverage.
-
Confirmed ordinary ObjectIO behavior is unchanged from the frozen base and current planner/CN partition guards reject M0 admission.
-
Acknowledged exact-head default build, UT, SCA, coverage and both BVT successes.
Limitations:
-
Full implementation, lifecycle, test-quality and performance review is deferred at the design gate.
-
No local Go, native or runtime tests were run. Earlier tagged execution reports lack supplied raw artifacts.
-
Default CI successes and skipped upgrade checks do not establish mo_m0 or upgrade qualification.
iamlinjunhong
left a comment
There was a problem hiding this comment.
Reviewed head a0cc35177a38bf59743c35de1f8f6616b9627718 against PR base main at 1a12e18e68714c5a583525de62b6b78c9dee63b9.
[P2] Record design approval covering the implemented AR-1 contract — docs/design/20261027-m0-read-boundary-r3.md:10.
AR-1 introduces persisted SchemaExtra.M0Evolution authority, separate layout generations, and Engine-owned read contracts (proto/api.proto:423 and pkg/internal/m0read/evolution.go). The addendum explicitly distinguishes this architecture from maintainer approval. The traceable R2 design approval covers hash 444e7bfc9f0a5b333435b90a7f9b93a70109aeb5232749a0ab018bcc3324eeed; the later GitHub approval reviewed 667fde44, before AR-1. Neither establishes approval of this materially different persistent contract. Repository design policy requires renewed review of material deviations. Record a decision against an exact AR-1 design revision covering authority ownership and the stated clone/recovery, backup and compatibility boundaries. This is a design-validation gap, not a demonstrated runtime failure. The same gap appears in review 5848558937; the supplied discussion contains no subsequent author reply.
Earlier feedback was reconciled: ordinary ObjectIO missing-column NULL filling is restored, and planner/CN guards reject partitioned M0 ADD. The author explicitly replied to those concerns and acknowledged repeated proof cost as an accepted experimental tradeoff. Those historical observations are not additional findings.
Validation: verified exact head/base, clean source, whitespace checks, the R2 design hash, and the relevant catalog/admission/read/recovery contracts. Per repository mo-self-review/SKILL.md, “An upstream design/range/artifact blocker may stop downstream review.” Full implementation, lifecycle, test-quality and performance review remains deferred at that gate. Runtime tests were skipped because they cannot establish the missing design decision; no local runtime pass is claimed. Publication checks were inapplicable to this read-only review.
CI, from the supplied exact-head review data: 38 checks: 22 successful, 14 skipped, 2 neutral. They have not all passed; none is reported failed or pending. Default CI does not establish experimental mo_m0, historical upgrade/restore, Linux qualification or QA acceptance.
Decision: COMMENT. This is this reviewer's first review, with one remaining P2 and no confirmed P0/P1. The requested event rules do not permit REQUEST_CHANGES for P2 alone.
|
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: 59002611ac13af4dd63c388e6fcfac196f2f1fb0
Assessment: request_changes
AR-1’s relation-owned authority and Engine mapping are technically coherent for the isolated, same-version experiment. The new metadata is justified by the provenance requirement and reuses existing transaction and recovery owners. Earlier reader and partition concerns are addressed; the explicitly reserved maintainer decision remains open.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
- P2
docs/design/20261027-m0-read-boundary-r3.md:10: AR-1 introduces persisted M0Evolution authority while explicitly reserving acceptance of its ownership, recovery/backup scope and storage-isolation boundaries to maintainers.
Impact: That required support decision remains unrecorded, preventing implementation approval. This is an owner/design acceptance gap, not a demonstrated runtime defect.
Evidence: The current addendum is blob f23413a7bfbbf443a392118a0f39500a086a4217. Comment 4548071179 requests the designated owners’ decision; no subsequent acceptance appears in the frozen discussion. Fengttt’s approval covers pre-AR-1 revision 667fde4. design-assessment.md now supplies the requested technical assessment. Record acceptance, revision or rejection of the existing fixed addendum in its current review thread or decision record.
Validation:
-
Verified frozen head/base, matching 232-file inventory and patch, design hashes, restored ordinary ObjectIO behavior, partition guards and unchanged source.
-
Recorded the technical assessment and accounted for all 47 discussion keys exactly once.
-
Static audit passed: checks/1794770998672447184-2.json; matching logs and reconciliation are retained in check-ledger.json.
-
Exact-head CI snapshot contains 22 successful, 14 skipped and 2 neutral checks.
Limitations:
-
Dependent implementation, lifecycle, test-quality and performance approval remains deferred. The repository’s mo-self-review skill permits an upstream design blocker to stop downstream review.
-
No local Go/native/runtime tests were run. Author-reported tagged and recovery results were not independently certified.
|
@aptend Please review and explicitly accept, request changes to, or reject the fixed AR-1 design for PR #30816. This replaces the earlier design-approval requests. Revision to decide: Implemented AR-1 contract at The purpose is restricted metadata-only ADD COLUMN: existing objects are left unchanged, and the Engine returns NULL for a validated nullable suffix added after an object was written. Missing columns inside the object's declared layout remain errors. Please decide these four boundaries:
The latest XuPeng-SH/mo-bot assessment finds the authority/Engine direction technically coherent within the isolated same-version experiment, but leaves this maintainer decision open. Please record your decision against the revision above, identifying any changes or additional conditions you require. Design acceptance will not by itself certify implementation correctness, performance, QA or production readiness. Existing review findings and threads remain open for their reviewers; no acceptance is claimed by this request. |
|
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: c057f65810d098eebd8ddd20114007fe4faefca7
Assessment: request_changes
AR-1's durable authority and Engine mapping are coherent for the isolated experiment and reuse existing catalog, transaction and recovery owners. Earlier reader and partition concerns are addressed, but the explicitly reserved maintainer acceptance remains outstanding.
Model: gpt-6.1-sol / max
Session: 01a1e395-a6d9-7ad1-bf20-81f1c6210100 · slot 2 · generation 0
- P2
docs/design/20261027-m0-read-boundary-r3.md:10: AR-1 introduces persisted M0Evolution authority while explicitly requiring fixed-revision maintainer acceptance of authority ownership, clone/recovery/backup boundaries and storage isolation.
Impact: The required support decision remains unrecorded, preventing implementation approval. Obtain aptend's revision-bound decision on the existing addendum and align the implementation with any required changes. This is an owner/design acceptance gap, not a demonstrated runtime defect.
Evidence: Current addendum blob f23413a7bfbbf443a392118a0f39500a086a4217 matches the revision requested in issue_comments:6911420812. That comment asks aptend to accept, change or reject it; only a service status follows. R2 approval and Fengttt's approval at 667fde4 predate AR-1's persistent contract (proto/api.proto:424). The repository design policy requires review of material deviations; the current addendum explicitly reserves this maintainer decision.
Validation:
-
Static audit passed under checks/1794824331409022697-2.json, matched to review-audit.log: frozen head/base, clean source, complete 232-file inventory, whitespace, patch consistency apart from terminal newlines, and design hashes.
-
Inspected design owners and consumers; confirmed ordinary ObjectIO reader behavior matches the frozen base apart from whitespace and planner/CN partition guards remain present.
-
Read all 49 discussion entries and complete linked issue context; saved discussion-assessment.json with unique, complete key coverage and design-assessment.md.
-
Frozen CI snapshot reports 14 successful, 14 skipped and 2 neutral checks, including successful default build, UT, SCA, coverage and BVT.
Limitations:
-
Dependent full implementation, lifecycle, test-quality and performance approval is deferred at the explicit design-owner gate; the complete file inventory was mapped, but full implementation/test-hunk review was not completed.
-
No local Go, native or runtime tests were run. local_validation is empty; author-reported tagged and recovery executions and external evidence packages were not independently certified.
aunjgr
left a comment
There was a problem hiding this comment.
Re-review of c057f65810d098eebd8ddd20114007fe4faefca7.
The original ordinary-ObjectIO reader regression is removed: the effective funcs.go diff no longer replaces default missing-column NULL compatibility with the experimental rejection.
Implementation approval is still stopped at the revised design boundary. The current AR-1 addendum, docs/design/20261027-m0-read-boundary-r3.md:10-13, explicitly requires acceptance of a fixed revision covering durable relation-owned authority, CN/TN interpretation, clone rebinding, recovery/backup sources and experimental-storage isolation. The prior R2 approval and passing CI do not approve that different persisted-state contract.
Please record the decision for the exact implemented AR-1 revision before implementation delivery. I am not asking for mixed-version serving support or asserting a fresh persisted-data corruption reproduction; this is the still-open design/compatibility approval gate.
|
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: c057f65810d098eebd8ddd20114007fe4faefca7
Assessment: request_changes
AR-1 coherently reuses existing catalog, transaction and reader owners, but two functional defects and a failing tagged test remain. Pending named-reviewer approval alone is not a technical blocker.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
-
P1
pkg/sql/compile/ddl.go:5528: In mo_m0, snapshot and RESTORE a flushed composite-PK table after metadata-only ADD and updating the added column.
Impact: RESTORE succeeds but drops M0Evolution; reading the restored column fails with error 20101: missing normal column without proof.
Evidence: The restore branch at line 5531 derives from originalCtx, discarding cloneCtx. qa-tagged.jsonl reproduces contract loss. A one-line overlay deriving the flag from cloneCtx preserves root/generation, rebinds ownership and reads snapshot value 10 (qa-restore-control-and-numeric.jsonl). Preserve the carrier and add a RESTORE regression. -
P2
pkg/vm/engine/disttae/m0_hook_mo.go:528: Metadata ADD a nullable DECIMAL UNSIGNED or ZEROFILL column to an eligible mo_m0 table.
Impact: The stored declaration loses its numeric attributes and accepts negative inputs for UNSIGNED.
Evidence: m0AppendCNDefs omits Attribute.NumericAttributes, unlike pkg/vm/engine/types.go:275. qa-numeric-frozen.jsonl confirms unchanged relation identity, missing attributes and successful insertion of -1.00; ordinary CREATE rejects it with error 1264. Preserve the masked attributes and cover their SQL behavior. -
P2
pkg/vm/engine/tae/txn/txnimpl/m0_catalog_workspace_test.go:132: Run TestM0TNAddBindingAppliesUnderCatalogLock with -tags=mo_m0.
Impact: The new regression test fails before its successful ALTER and copy-on-write assertions.
Evidence: The mock schema lacks M0Evolution, while advanceM0SchemaEvolution requires it. component-tagged.jsonl records invalid relation evolution contract at this assertion. Adapt the fixture and expectations to current admission, separating admissible ADD success from generated-schema hydration/rejection cases while retaining the lock and ownership oracles.
Validation:
-
All 232 changed files and 52 discussion entries assessed. final-audit.log and validation-evidence.json reconcile terminal receipts, retained logs, clean head, native provenance and overlays.
-
Tagged component selection: 13 executed packages passed; txnimpl failed the reported test. Default selection: eight executed packages passed. Zero-test selections excluded.
-
Full m0read package passed. Three selected SQL integration roots passed, covering WAL/checkpoint recovery, two-CN execution and post-TN-apply rollback.
-
Focused race checks passed, followed by 100 repetitions of each of 12 roots: 1,200 passes.
-
Public SQL independently reproduced RESTORE and numeric defects. The isolated RESTORE correction subtest passed; its enclosing run still failed numeric assertions.
-
Dotted-alias lead was not attributed as a new defect: exact base returns an empty result; head rejects it. Ordinary-alias and quoted-column controls pass.
Limitations:
-
Focused local validation; no full repository/BVT, performance or general physical-backup qualification.
-
Host-57 exploratory artifacts were unavailable; reported defects were independently reconstructed.
Preserve M0 remote binding and fail-open handling of missing zone maps. Integrate nullable ordered scans and honor the upstream prefetch revert. Validate TN plan OIDs without recovering from a panic.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #30518, the SF100 BranchBench parent tracker, which must remain open.
#29798 is the merged historical comparison baseline. #30958 is an independent
BOOLEAN DEFAULT false extension and is not included in this PR's support claim.
What this PR does / why we need it:
CI follow-up (
4300f3bf)2250f573run failed SCA onerrors.Newin the checkpoint test helper and UT Coverage on a zero-row SQL task overlap update. Coverage aggregation did not compute a verdict because its producer failed. The ordinary UT job also ended after its two-hour execution window; its first underlying failure remains unconfirmed.46cb5c26replaces the prohibited error constructor;make err-check, focused restart tests, and selected configured static checks pass locally in default andmo_m0modes.4300f3bfadds failure-only generation/count and transaction-visibility diagnostics without weakening the SQL task assertion. The selected test passed twice on fixed main6c745790and twice on the prior PR head with taskservice instrumentation; this does not reproduce the full CI load or establish the cause. A controlled mismatched-generation probe verified the diagnostic branch.4300f3bffinished: SCA, UT Coverage, both BVT jobs, and Coverage passed; ordinary UT and the dependent CI Required failed. The five failing scenarios remain unconfirmed: focused base/head and selected predecessor or concurrency comparisons passed locally, which does not reproduce the full CI environment or establish a fix.59002611merges mainf70c37b1and resolves the scan read policy, M0 statement-view/prefetch cleanup, and view replay conflicts. The view test executed all 50 replay cases in each local build mode; targeted scan and cleanup tests, incremental golangci-lint and pinned molint in both modes, andmake err-checkpassed locally. CI for59002611attempt 1 passed, including UT, SCA, both BVT jobs, UT Coverage, Coverage and CI Required. The PROXY BVT log reportsm0_customer_add_clone.sql66/66, with no ignored or failed cases. This default CI result does not establish the cause of the earlier UT failures or qualify mo_m0, Linux, QA, production, or AR-1 design acceptance. AR-1 maintainer acceptance remains outstanding.AR-1 design decision requested
The earlier design-approval requests are replaced by the current request to aptend.
Please decide the implemented AR-1 addendum at
59002611ac13af4dd63c388e6fcfac196f2f1fb0, Git blobf23413a7bfbbf443a392118a0f39500a086a4217, covering:M0Evolutionauthority, Engine-owned interpretation, and layout generations distinct from catalog versions.The latest XuPeng-SH/mo-bot review finds the direction technically coherent for the isolated same-version experiment and leaves maintainer acceptance pending. A revision-bound acceptance, change request or rejection from aptend is requested. Existing CRs and implementation/QA gates remain open; prior R2 approval or green CI does not constitute AR-1 acceptance.
Main integration and CI test repairs (
2250f573)This head merges main
6c7457903d9e6e259b6b51e749fecc0ff8a59ea5intoa70e128f8b9476583fdfa7003d66e3be9eb9feb3. The 10 conflicted files retain main's relation-scoped clone delete ownership together with the M0 statement-view snapshot, missing-summary guard, worker panic handling and object cleanup. A regression checks that a shared physical object cannot borrow another relation's summary.The earlier checkpoint failure was a test-helper error path: after a timed-out reopen,
TestEngine.Restartdereferenced an incompletely opened database, and cleanup could panic again. The helper now returns the reopen error before publishing a new instance; the checkpoint restart has its own bounded context. A canceled-context diagnostic reproduced the helper panic on both base and old head; the original timeout did not recur in local baseline runs. The view-replay test now has per-replay limits plus an overall round limit, retaining its assertions and cleanup.Validation on the committed tree
93528a1c7c8a82dde86d85b0fbfb07887b543fbf, native macOS and Go 1.27.1:mo_m0. The full default checkpoint package passed 51 roots, with no skipped roots.mo_m0targeted roots with race/vet; full default disttae passed 795 roots. Its one experimental-build-only skipped root passed separately undermo_m0. Eight affected timing/lifecycle roots per mode also passed 1,321 total bounded race repetitions.mo_m0roots.TestTablePrefixMetadataUpgrade,TestIssue28012And28013AcceptedCommitDuringStandaloneShutdown, andTestV407LoginRepairsTenantCreatedAfterUpgradeSnapshot) passed locally with race/vet. Their original first errors were in the truncated CI artifact; local passes do not establish their CI root causes or fixes.m0_customer_add_clone.sqlpassed 66/66 twice per mode. No statements were ignored and fixture cleanup passed. The local tester compared result rows with-n, so result-set metadata was not compared.golangci-lintand pinnedmolintpassed in both modes; formatting and staged diff checks passed.The previous run's 120-minute outer limit is unchanged, and its remaining heavy-stage duration is unknown. CI for this exact head is queued or running; its terminal result is not yet known. These local checks do not establish
mo_m0Linux, QA, historical upgrade/restore, performance, or AR-1 owner acceptance.Validated repairs and main conflict resolution (
a70e128f)This head merges
mainatbbfc12bab4f410c26dbf06aa694acba51aba1734into3d222f328b79de8bd673ab62c27e13a9bc98331e. The conflict preserves upstream's independent snapshot budgets, failure-aware subtest cleanup, and CDC executor pause/restore/resume, together with the targeted diagnostics described below. The committed tree05fb6e9d97cf9273518b4785efbbf8e72c368334is the tree validated locally.TestViewDescriptionSubscriptionwith race and vet; the local INSERT took about 19.5 ms. This is not a measurement of the failed CI INSERT.COUNT(*),COUNT,MINandMAXpaths inmo_m0; a live M0 contract remains on the strict reader, and missing or mismatched physical column metadata falls back to that reader. Default ordinary-read semantics and the evolution contract remain unchanged. Focused tests passed 11/11mo_m0roots and 5/5 default roots; actual relation authority tests passed the valid, missing, format, account, binding and semantics cases.m0_customer_add_clone.sqlcase ran twice per mode, 66/66 each time with no ignored commands, including the added M0 and ordinary aggregate queries; fixture resources were absent after each run. The local mo-tester used-n, so result-set metadata was not compared. Additional SQL checked persisted ordinary and evolved objects in both modes. Incrementalgolangci-lintand pinnedmolintpassed in both modes; PR-relativegit diff --checkpassed.The range-filter precheck is intentionally unchanged: an absent contract does not prove an ordinary table, and
Rangesis not yet bound to the downstream reader's complete column set and snapshot. Any narrowing needs a validated relation/snapshot/read-column binding; a new durable ordinary marker requires an owner decision.MatrixOne ALL CI for
a70e128ffailed UT; CI Required failed as a consequence. The run reached its 120-minute overall UT limit while heavy work was still active. The CI for3d222f32was canceled; its CI Required job failed because prerequisites were canceled. That result belongs only to the earlier SHA. Local results do not qualify Linux, QA, supported upgrade/restore, performance or AR-1 design acceptance.Transaction workspace integration (
6e2b533e)Code head:
6e2b533ef95fed4319359889628ef5c460c451cb, merging publisheda0cc35177a38bf59743c35de1f8f6616b9627718with main56ad29d8a5ebcd7359febb3e5c5575b2fce8eee6. The conflict intxn_issue25590_test.goretains both M0 worker-panic cleanup and upstreamworkspace memory-admission assertions. The M0 statement view owns a separate
allocation account charged to its statement generation and releases it after
the last view reference, including when the source workspace has closed.
Local Go 1.27.1/macOS validation passed:
mo-servicebinary builds in bothdefault and
mo_m0, plus 11 affected disttae roots in each ofdefault and
mo_m0, sixmo_m0race roots, one compile-entry root per mode,and two
mo_m0SQL integration roots. Both modes passed affected incrementalgolangci-lint and the pinned molint. The MatrixOne ALL CI for
6e2b533efailed its UT job in the snapshot and CDC scenarios; CI Required failed as a consequence. The former green run is
bound to parent
a0cc3517. Linux, supported historical upgrade/restore, QA,and maintainer acceptance of AR-1 remain separate gates.
Main conflict resolution (
a0cc3517)Code head:
a0cc35177a38bf59743c35de1f8f6616b9627718, merging publishedcecee20c44601638e1276fada054c7c76a378b0dwith main1a12e18e68714c5a583525de62b6b78c9dee63b9.The catalog conflict preserves upstream filtering of stale table properties and
M0's authoritative schema-extra carrier. The default ObjectIO missing-column
behavior and the Engine-owned strict M0 mapping remain unchanged.
Focused default and
mo_m0tests with vet passed for catalog property round trips,transaction-visible contract binding, missing-column handling and scope cleanup.
The member-scope test covers codec behavior, not a real scheduler. PR-relative
git diff --checkpassed. Local incremental lint was interrupted because thehost was short of disk space; M0 incremental lint was not run.
The previous head's CI, attempt 2
passed including Coverage and both BVT jobs. Its reused PROXY job selected
m0_customer_add_clone.sqland passed 64/64; this is default CI evidence, notmo_m0or Linux qualification. The earlier metrics duplicate failure was notproven fixed by the successful retry. Parent-head CI
passed at attempt 1, including UT, SCA, both BVT jobs and CI Required. Changed-code
coverage was 75.89%; the PROXY job selected
m0_customer_add_clone.sqlandpassed 64/64, and the PESSIMISTIC job passed
log/column_metric.sql3/3. Theseare default CI results, not experimental-tag or Linux qualification. Architecture
review, supported historical upgrade/restore qualification, Linux and QA remain
separate outstanding gates.
Historical static-analysis dependency repair (
cecee20c)Code head:
cecee20c44601638e1276fada054c7c76a378b0d, based oncee1bc55.Pins molint to
v0.0.0-20261110103926-fffeed40d292, the official merge ofmatrixorigin/linter#56.
The accepted rule recognizes the three precise recovery owners. Recovery and
partial-object cleanup code, analyzer flags and coverage thresholds are unchanged.
The installation recipe changes the tool-cache key so CI installs the new version.
Local validation passed with the official module: all six linter test roots,
six static-analysis runner tests, and all enabled molint checks on disttae and
TN logtail in both default and M0 modes. Database/native inputs did not change;
existing runtime evidence is reused. At publication remote SCA/CI was pending; the subsequent result is recorded above.
Parent
cee1bc55passed UT, shared build, both BVT jobs and actual remoteCoverage at 1239/1634 (75.83%). Its only failed analysis was the four recovery
policy findings, causing CI Required to fail. This pin addresses that dependency;
new-head CI must confirm closure. Architecture review, Linux qualification and
QA remain separate; linter approval does not approve the M0 architecture.
Previous coverage repair candidate
Code head:
cee1bc556d2f4c50daa76aa097e089d9c90f9ac8, based on0695e8c1.Shared scan admission, account/cancellation, scope and physical-header tests now
execute in default and
mo_m0. The watermark checker implementation is unchanged;production registration remains M0-only. All 30 existing compile test bodies in
the affected files retain their assertions. Real tagged schema-authority tests
remain tagged; scoped unit fixtures do not install planner/catalog authority.
Local validation passed: 17 default and 19 M0 compile roots, nine M0 contract
package roots, default contract/context/header selections, two-mode incremental
lint, vet, format and diff checks. The exact CI parser reproduces the old Linux
baseline at 1035/1627 (63.61%). Combining it with source-compatible local default
increments projects 1239/1634 (75.83%); this is not a new-head CI result.
Current-head CI must confirm the gate independently.
At publication this coverage candidate still used the earlier linter pin and
failed on four recovery-policy findings. The accepted rule and fixed-tool update
are recorded in the current dependency repair above. The recovery expressions
remain unchanged. No rule/coverage gate was disabled, and
no old failed job was blindly rerun. Linux qualification, reviewer acceptance
and QA remain separate; this update supplies no new performance result.
Historical base integration (
bdb42ba)Code head:
bdb42ba880d44be1b1859951e5c5cbf49914c62c, merging publishedb875a35dwith frozen maina86c130cc09c5859e1651d49746a35bc79c2c07a.GitHub readback confirmed
mergeable=true; this clears textual base conflicts,not the outstanding review/CI/QA gates.
The single conflict adopts upstream cancel-before-snapshot cleanup while
preserving AR-1 panic/error propagation and asynchronous output ownership.
Affected local checks passed: 15 default and 3 M0 units; 5 visibility/cancellation/
recovery-handshake units; 2 default and 9 M0 SQL roots; 3 real SQL race roots;
both modes affected compile/vet and incremental lint/molint; format and PR diff.
Unchanged native inputs and the verified local native hash were reused.
Unchanged previous evidence keeps its original identity. Current-head CI,
external BVT, Linux, independent approval and QA remain separate pending gates.
Previous base-integration candidate and evidence
Historical code head:
b875a35deeb7314fdfae127032d2d5a644a63759, merging theoriginal AR-1 candidate
61d76463with frozen maind2dab994dd87445b5f5d44a06293bd5e09a1eee9.Affected local validation: default / mo_m0 unit roots 42 / 107; SQL roots 3 / 23;
race 51 unit invocations plus 7 real SQL roots; two-mode incremental lint/molint,
affected compile/vet, gofmt, err-check and PR diff-check passed. Matching native
was rebuilt for the frozen integration inputs. These are scoped integration
checks, with unchanged evidence reused; they are not new performance results.
This section records the previous
b875a35dintegration. Its temporarybase-conflict notice is superseded by the incremental integration above;
its validation receipts are not relabelled for the new head.
Pre-integration AR-1 candidate and original review material
Code candidate:
61d76463baf34090c16fe94669aa4dd0fa4655ad. Four commits from667fde44fb1aaae6247b64a151bd41ae2c4e3042; final tree189f65182fba2b0a27a71f6a13faf3c5a1a10c4f.The final tree matches the sealed local qualification. Intermediate commits
were not separately compiled or qualified. This is not a new comparison against
current main, and old CI approvals are not relabeled for this candidate.
The attachments live on a separate evidence branch, pinned by commit, so their
publication does not change the code candidate or create a new test result.
JSON receipts are exact copies; terminal summaries are safe extractions bound
to original log hashes. Raw logs and the historical working journal remain local.
Architecture and compatibility
M1: Introduce an explicit versioned
SchemaExtra.M0Evolutionrelationcontract, O(columns), binding root, owner, stable column semantics and layout
introductions. This is new persistent metadata and protobuf semantics.
Disk-object encoding is unchanged; for contracted data the existing object
header version represents layout generation, distinct from catalog version.
CREATE/COPY/ADD, clone, writer/flush/merge and supported recovery validate this
contract. Shape, OID, width or writer identity alone does not grant authority.
M2: Engine owners bind relation/schema/snapshot and visible objects, then
construct bounded strict read layouts and logical NULL columns. The supported
remote path fixes statement-visible state, keeps coordinator contributions and
scoped persisted deletions, and checks receiver binding/watermarks. Existing
exact execution paths replace optimizations only when their physical premises
are absent. No new distributed wire payload or general partition executor is claimed.
M3: Restore ordinary default missing-column behavior to the pre-PR
2465dae7branch while retaining existing physical checks. Remove ObjectIO'sM0 semantic/context permission; strict M0 failure cannot call the ordinary
NULL-compatible path as fallback. This chooses preservation of ordinary behavior,
not new historical-upgrade or backup-source support. System-catalog compatibility
remains narrow and Engine-owned.
This is an author-selected, locally implemented design submitted for architecture
and complete implementation review. Earlier R2 model decisions or historical
approvals do not approve AR-1. The existing architecture/default-compatibility CR
remains open until reviewers explicitly assess this candidate.
Restricted experiment
Default builds retain ordinary ADD/COPY. Only
mo_m0enables the establishedrestricted nullable/no-backfill trailing ADD domain, with hidden composite PK
and existing schema/transaction admission limits. Generated-column tables remain
ordinary COPY controls; partition M0 ADD and arbitrary physical imports are not
added. No SQL syntax or disk-object format fields are added. The shared catalog,
reader and execution changes are not described as entirely tag-isolated.
Experimental data is same-version only, isolated by storage namespace/directory,
permissions and deployment entry points. Old/default binaries are not guaranteed
to detect/reject this storage. Mixed-version operation, downgrade, production
enablement and general physical backup/restore are not qualified. Rewriting a
current table does not migrate retained snapshots or clone references.
Validation and pending gates
Historical pre-integration evidence below is bound to the original
61d76463tree:The source-identical history split/publication did not rerun tests. Negative and
changed-during-compilation trials remain preserved; only frozen final receipts
are counted. Local embedded two-CN evidence is not general deployment qualification.
The PR remains Ready; no thread is self-resolved and no merge is requested.
The original base-conflict notice is superseded by the current integration section above; original receipts remain bound to their original source.
Historical performance only
CF9 (
cf9f5ff0) and its approximate 27% observation retain their original identity.There is no new AR-1 performance claim, SF100 result or optimization acceptance.
No proof cache, fast-filter redesign, UPDATE optimization, merge scheduling change,
P1/P2 or expanded schema is part of this delivery.