Repository navigation
Conversation
|
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: 94a2f3822ccf16208d4aa0cb9a181e6b1adfb9db
Assessment: approve
The tests cover selected COPY ALTER publication, refresh, cancellation and failure paths with complete ordered row comparisons. They reuse existing cluster and observer capabilities without changing production behavior. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Reviewed all three added files, relevant owners/consumers and linked issue context; reconciled both discussion entries.
-
All 18 new tests passed normally and with -race. Seventeen exact adaptive stress selections passed 299 repeated executions.
-
A temporary public MySQL probe matched the 36 committed SQL/result statements twice, including preexisting-snapshot recovery and explicit teardown checks.
-
go vet, gofmt, diff --check, preflight and native-input verification passed. validation-audit.json reconciles 27 local receipts/logs; source remains unchanged.
-
Reused the supplied current-head Ubuntu UT success for broader CI coverage.
Limitations:
-
The public SQL probe is not a mo-tester invocation; reported mo-tester runs are reused for unchanged BVT inputs. Raw per-test CI artifacts were not supplied.
-
Physical-copy overlap, complete transaction-retry accounting and remaining performance/TKE/QA validation stay under #28319; this partial regression PR does not close that issue.
|
Queue requested — the merge queue status continues in this comment ↓. |
🛑 Pull request from fork cannot be queuedDetailsThis pull request comes from a fork, and Mergify needs the author's permission to update its branch. |
🛑 Pull request from fork cannot be queuedDetailsThis pull request comes from a fork, and Mergify needs the author's permission to update its branch. |
1 similar comment
🛑 Pull request from fork cannot be queuedDetailsThis pull request comes from a fork, and Mergify needs the author's permission to update its branch. |
|
@Mergifyio refresh |
✅ Pull request refreshed |
🛑 Queue command cancelledQueue requested — the merge queue status continues in this comment ↓. |
🚫 Left the queue · pull request dequeued47 min in the queue, with no time running CI. So far
Reason Pull request #32395 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
To get back in the queue
Merge conditions not met when it left the queue
Tick the box to put this pull request back in the merge queue (same as
2 merge conditions met
Times in UTC · dashboard · how the merge queue works |
What type of PR is this?
Which issue(s) this PR fixes:
Part of #28319. This PR adds regression coverage and does not close the issue.
What this PR does / why we need it:
Add real SQL regression coverage for ADD/DROP PRIMARY KEY COPY ALTER across independent-table publication, concurrent source writes and bounded refresh, publication contention, stale same-table preparation, server-side cancellation, and injected publication or refresh failures. Compare the complete ordered
(id,v)rows, including duplicates, and verify primary-key definitions in the relevant terminal paths. A SQL counterexample demonstrates that the previous pair of count assertions accepted a missing row replaced by a duplicate.Reuse the existing internal SQL executor test observer; its completed INSERT SELECT count is not a complete physical-copy or transaction-retry measurement. The BVT covers historical reads, a view, allocator behavior, foreign-key metadata and enforcement, and transaction rollback, and removes an existing named snapshot before setup. This PR contains no production protocol changes. The previous candidate is #28418.
Validation on base
c99234dcf4c94d1ff9d372917cd35041f1a3a682, candidate94a2f3822ccf16208d4aa0cb9a181e6b1adfb9db:-race -json: 18 top-level cases passed; maximum 6.31 seconds. New-head Ubuntu CI and its per-test timing remain pending.go vetforpkg/tests/issuespassed locally. The previous head's SCA failure was caused by a redundant loop-variable copy; that copy is removed.The previous head's local race run had two timing failures (103.25 and 51.83 seconds) under heavy observed system load; the cause was not established. Those results remain historical, not passing evidence for that head or this one.
Physical write overlap and comprehensive physical-copy/transaction-retry observation are not established by these tests. The fixed B/M performance run, three TKE nightly replays, and their cleanup/QA evidence remain pending under #28319. Earlier Ubuntu smoke and old PR measurements are historical and do not validate this head.
QA required: yes — this is partial regression coverage; remaining performance and distributed nightly validation are tracked by #28319.