Repository navigation
test: stabilize authenticated cluster heartbeats - #26448
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? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Re-reviewed the updated PR at a5d23de. The previous blocker is resolved: the shared embedded cluster now explicitly sets a 30s HAKeeper heartbeat and 60s CN/TN store timeouts, and the regression test inspects every CN/TN/LOG service and asserts the required ordering rather than only pointer reuse/auth state. The focused real-cluster test and full pkg/embed package passed under -race, and exact-head required CI is green.
Merge Queue Status
This pull request spent 32 minutes 49 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #26448 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.
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes #26054 ## What this PR does / why we need it: ### Root cause `DATA BRANCH DIFF ... OUTPUT FILE` treated successful producer-side appends as a completed file write. In the streaming path, `FileService.Write` ran in a worker and its final result was consumed only by a no-result `release` callback. A file service could therefore consume the entire pipe, let every `writeFile` call succeed, and then return an error that the SQL statement could not observe. The mutable path similarly discarded the final `Mutator.Close` error. In both cases the success row was added before deferred finalization ran. ### Changes - Make the common file-output finalizer return an error. - Await and return the worker's final `FileService.Write` result in the non-mutable path. - Return the final `Mutator.Close` result in the mutable path. - Explicitly finalize the output before adding the success result row, and retain deferred finalization for early-error paths. - Join an early statement error with any concurrent finalization error instead of discarding either one. - Finalize the writer before deleting partial output so cleanup cannot race an active stream. - Add focused tests for a file service that consumes the complete stream before failing, SQL-level error/result-row/cleanup behavior, mutable close failure propagation, success, immediate write failure, and setup failures. No public API, SQL syntax, output format, or configuration behavior changes. ### Tests Pre-fix reproduction on `main` used a package-level file service wrapper that fully consumed each `ReaderForWrite` before returning `mock late write failure`. In 3/3 runs, both `BEGIN` and `COMMIT` writes returned nil, and the no-result release callback was the only observer of the failure. Post-fix exhaustive verification on `main@84f0d11`: - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - Focused output-file regression set, `-count=3` (9 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=20m ./pkg/frontend` (PASS, 24.471s) - Race selection was enumerated and contained all 7 new/modified behavioral tests. - Race measurements were `T=0s` to `0.04s`; with `B=30s`, the adaptive rule selected `N=100` for every test. - Each selected exact test passed independently with `-race -count=100`. - `.agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=20m ./pkg/frontend` (PASS, 37.818s) - `git diff --check origin/main...HEAD` Rebase verification on `main@0b8b53d`: - Focused output-file finalization set, `-count=3` (8 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test ./pkg/frontend -count=1` (PASS, 33.817s) - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - `git diff --check origin/main...HEAD` - `git range-diff` confirmed the rebase preserved the patch exactly. BVT is not appropriate for this regression because the required boundary is a deterministic post-consumption `FileService.Write` or `Mutator.Close` fault, which the SQL BVT harness cannot inject. The package-level tests cover both file-service implementations and the SQL result-row boundary directly. ### CI follow-up Two attempt-1 Ubuntu/x86 UT failures were proven unrelated to this PR; in both jobs, `pkg/frontend` passed and the failures were in packages outside this two-file diff. The first failure exposed ISCP, embedded-cluster heartbeat, and lockservice signatures: the previously unreported ISCP cases were filed as #26517, while existing #26374 and #26441 / #26448 cover the other signatures. After rebasing, a second failure exposed current-main embedded-cluster heartbeat/reset cases and was filed as #26522. Per CI policy, the failed jobs for the current-head workflow were rerun exactly once; attempt 2 passed. ### Residual risks No known correctness gap remains in final write/close error propagation. Partial-output deletion retains the existing best-effort cleanup contract: this change guarantees cleanup is invoked after writer termination, but a backend `Delete` failure remains secondary to the original output failure and is not returned separately. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26441 ## What this PR does / why we need it: The authenticated issue tests previously started a second persistent embedded LogService/TN cluster in the same UT process. Under race-enabled CI scheduling pressure, the two clusters competed for Dragonboat tick/proposal processing, which could starve HAKeeper heartbeats and reset a foreground SQL connection. This PR routes authenticated issue tests through the existing `RunBaseClusterTests` cluster instead of creating a second cluster. Because that base cluster is shared by all `RunBaseClusterTests` callers, the test-only configuration changes apply to every base-cluster consumer: - authentication remains enabled on the shared CN services; - CN and TN HAKeeper heartbeat RPC deadlines are 30 seconds; - HAKeeper CN and TN store expiration windows are 60 seconds, keeping the heartbeat deadline strictly below the liveness window; - the Iceberg tenant test uses the tenant's `accountadmin` role now that the shared cluster enforces authentication. `TestAuthenticatedTestsReuseBaseCluster` verifies cluster identity and the effective CN, TN, and LogService timeout configuration. Production defaults, SQL behavior, assertions, and retry semantics are unchanged. Validation: - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestAuthenticatedTestsReuseBaseCluster$' -count=1` - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestIssue26114LegacyCrossAccountMetadataCountsTowardTargetQuota$' -count=10` - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/embed -run '^TestIcebergSQLEngineEmbeddedWriteDMLAndMaintenanceSQL$' -count=1` - `make build` - `make static-check` - `git diff --check` --------- Co-authored-by: XuPeng-SH <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…igin#26505) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes matrixorigin#26054 ## What this PR does / why we need it: ### Root cause `DATA BRANCH DIFF ... OUTPUT FILE` treated successful producer-side appends as a completed file write. In the streaming path, `FileService.Write` ran in a worker and its final result was consumed only by a no-result `release` callback. A file service could therefore consume the entire pipe, let every `writeFile` call succeed, and then return an error that the SQL statement could not observe. The mutable path similarly discarded the final `Mutator.Close` error. In both cases the success row was added before deferred finalization ran. ### Changes - Make the common file-output finalizer return an error. - Await and return the worker's final `FileService.Write` result in the non-mutable path. - Return the final `Mutator.Close` result in the mutable path. - Explicitly finalize the output before adding the success result row, and retain deferred finalization for early-error paths. - Join an early statement error with any concurrent finalization error instead of discarding either one. - Finalize the writer before deleting partial output so cleanup cannot race an active stream. - Add focused tests for a file service that consumes the complete stream before failing, SQL-level error/result-row/cleanup behavior, mutable close failure propagation, success, immediate write failure, and setup failures. No public API, SQL syntax, output format, or configuration behavior changes. ### Tests Pre-fix reproduction on `main` used a package-level file service wrapper that fully consumed each `ReaderForWrite` before returning `mock late write failure`. In 3/3 runs, both `BEGIN` and `COMMIT` writes returned nil, and the no-result release callback was the only observer of the failure. Post-fix exhaustive verification on `main@84f0d11`: - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - Focused output-file regression set, `-count=3` (9 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=20m ./pkg/frontend` (PASS, 24.471s) - Race selection was enumerated and contained all 7 new/modified behavioral tests. - Race measurements were `T=0s` to `0.04s`; with `B=30s`, the adaptive rule selected `N=100` for every test. - Each selected exact test passed independently with `-race -count=100`. - `.agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=20m ./pkg/frontend` (PASS, 37.818s) - `git diff --check origin/main...HEAD` Rebase verification on `main@0b8b53d`: - Focused output-file finalization set, `-count=3` (8 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test ./pkg/frontend -count=1` (PASS, 33.817s) - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - `git diff --check origin/main...HEAD` - `git range-diff` confirmed the rebase preserved the patch exactly. BVT is not appropriate for this regression because the required boundary is a deterministic post-consumption `FileService.Write` or `Mutator.Close` fault, which the SQL BVT harness cannot inject. The package-level tests cover both file-service implementations and the SQL result-row boundary directly. ### CI follow-up Two attempt-1 Ubuntu/x86 UT failures were proven unrelated to this PR; in both jobs, `pkg/frontend` passed and the failures were in packages outside this two-file diff. The first failure exposed ISCP, embedded-cluster heartbeat, and lockservice signatures: the previously unreported ISCP cases were filed as matrixorigin#26517, while existing matrixorigin#26374 and matrixorigin#26441 / matrixorigin#26448 cover the other signatures. After rebasing, a second failure exposed current-main embedded-cluster heartbeat/reset cases and was filed as matrixorigin#26522. Per CI policy, the failed jobs for the current-head workflow were rerun exactly once; attempt 2 passed. ### Residual risks No known correctness gap remains in final write/close error propagation. Partial-output deletion retains the existing best-effort cleanup contract: this change guarantees cleanup is invoked after writer termination, but a backend `Delete` failure remains secondary to the original output failure and is not returned separately. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26441 ## What this PR does / why we need it: The authenticated issue tests previously started a second persistent embedded LogService/TN cluster in the same UT process. Under race-enabled CI scheduling pressure, the two clusters competed for Dragonboat tick/proposal processing, which could starve HAKeeper heartbeats and reset a foreground SQL connection. This PR routes authenticated issue tests through the existing `RunBaseClusterTests` cluster instead of creating a second cluster. Because that base cluster is shared by all `RunBaseClusterTests` callers, the test-only configuration changes apply to every base-cluster consumer: - authentication remains enabled on the shared CN services; - CN and TN HAKeeper heartbeat RPC deadlines are 30 seconds; - HAKeeper CN and TN store expiration windows are 60 seconds, keeping the heartbeat deadline strictly below the liveness window; - the Iceberg tenant test uses the tenant's `accountadmin` role now that the shared cluster enforces authentication. `TestAuthenticatedTestsReuseBaseCluster` verifies cluster identity and the effective CN, TN, and LogService timeout configuration. Production defaults, SQL behavior, assertions, and retry semantics are unchanged. Validation: - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestAuthenticatedTestsReuseBaseCluster$' -count=1` - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestIssue26114LegacyCrossAccountMetadataCountsTowardTargetQuota$' -count=10` - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/embed -run '^TestIcebergSQLEngineEmbeddedWriteDMLAndMaintenanceSQL$' -count=1` - `make build` - `make static-check` - `git diff --check` --------- Co-authored-by: XuPeng-SH <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…igin#26505) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes matrixorigin#26054 ## What this PR does / why we need it: ### Root cause `DATA BRANCH DIFF ... OUTPUT FILE` treated successful producer-side appends as a completed file write. In the streaming path, `FileService.Write` ran in a worker and its final result was consumed only by a no-result `release` callback. A file service could therefore consume the entire pipe, let every `writeFile` call succeed, and then return an error that the SQL statement could not observe. The mutable path similarly discarded the final `Mutator.Close` error. In both cases the success row was added before deferred finalization ran. ### Changes - Make the common file-output finalizer return an error. - Await and return the worker's final `FileService.Write` result in the non-mutable path. - Return the final `Mutator.Close` result in the mutable path. - Explicitly finalize the output before adding the success result row, and retain deferred finalization for early-error paths. - Join an early statement error with any concurrent finalization error instead of discarding either one. - Finalize the writer before deleting partial output so cleanup cannot race an active stream. - Add focused tests for a file service that consumes the complete stream before failing, SQL-level error/result-row/cleanup behavior, mutable close failure propagation, success, immediate write failure, and setup failures. No public API, SQL syntax, output format, or configuration behavior changes. ### Tests Pre-fix reproduction on `main` used a package-level file service wrapper that fully consumed each `ReaderForWrite` before returning `mock late write failure`. In 3/3 runs, both `BEGIN` and `COMMIT` writes returned nil, and the no-result release callback was the only observer of the failure. Post-fix exhaustive verification on `main@84f0d11`: - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - Focused output-file regression set, `-count=3` (9 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=20m ./pkg/frontend` (PASS, 24.471s) - Race selection was enumerated and contained all 7 new/modified behavioral tests. - Race measurements were `T=0s` to `0.04s`; with `B=30s`, the adaptive rule selected `N=100` for every test. - Each selected exact test passed independently with `-race -count=100`. - `.agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=20m ./pkg/frontend` (PASS, 37.818s) - `git diff --check origin/main...HEAD` Rebase verification on `main@0b8b53d`: - Focused output-file finalization set, `-count=3` (8 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test ./pkg/frontend -count=1` (PASS, 33.817s) - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - `git diff --check origin/main...HEAD` - `git range-diff` confirmed the rebase preserved the patch exactly. BVT is not appropriate for this regression because the required boundary is a deterministic post-consumption `FileService.Write` or `Mutator.Close` fault, which the SQL BVT harness cannot inject. The package-level tests cover both file-service implementations and the SQL result-row boundary directly. ### CI follow-up Two attempt-1 Ubuntu/x86 UT failures were proven unrelated to this PR; in both jobs, `pkg/frontend` passed and the failures were in packages outside this two-file diff. The first failure exposed ISCP, embedded-cluster heartbeat, and lockservice signatures: the previously unreported ISCP cases were filed as matrixorigin#26517, while existing matrixorigin#26374 and matrixorigin#26441 / matrixorigin#26448 cover the other signatures. After rebasing, a second failure exposed current-main embedded-cluster heartbeat/reset cases and was filed as matrixorigin#26522. Per CI policy, the failed jobs for the current-head workflow were rerun exactly once; attempt 2 passed. ### Residual risks No known correctness gap remains in final write/close error propagation. Partial-output deletion retains the existing best-effort cleanup contract: this change guarantees cleanup is invoked after writer termination, but a backend `Delete` failure remains secondary to the original output failure and is not returned separately. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26441 ## What this PR does / why we need it: The authenticated issue tests previously started a second persistent embedded LogService/TN cluster in the same UT process. Under race-enabled CI scheduling pressure, the two clusters competed for Dragonboat tick/proposal processing, which could starve HAKeeper heartbeats and reset a foreground SQL connection. This PR routes authenticated issue tests through the existing `RunBaseClusterTests` cluster instead of creating a second cluster. Because that base cluster is shared by all `RunBaseClusterTests` callers, the test-only configuration changes apply to every base-cluster consumer: - authentication remains enabled on the shared CN services; - CN and TN HAKeeper heartbeat RPC deadlines are 30 seconds; - HAKeeper CN and TN store expiration windows are 60 seconds, keeping the heartbeat deadline strictly below the liveness window; - the Iceberg tenant test uses the tenant's `accountadmin` role now that the shared cluster enforces authentication. `TestAuthenticatedTestsReuseBaseCluster` verifies cluster identity and the effective CN, TN, and LogService timeout configuration. Production defaults, SQL behavior, assertions, and retry semantics are unchanged. Validation: - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestAuthenticatedTestsReuseBaseCluster$' -count=1` - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestIssue26114LegacyCrossAccountMetadataCountsTowardTargetQuota$' -count=10` - `.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/embed -run '^TestIcebergSQLEngineEmbeddedWriteDMLAndMaintenanceSQL$' -count=1` - `make build` - `make static-check` - `git diff --check` --------- Co-authored-by: XuPeng-SH <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…igin#26505) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes matrixorigin#26054 ## What this PR does / why we need it: ### Root cause `DATA BRANCH DIFF ... OUTPUT FILE` treated successful producer-side appends as a completed file write. In the streaming path, `FileService.Write` ran in a worker and its final result was consumed only by a no-result `release` callback. A file service could therefore consume the entire pipe, let every `writeFile` call succeed, and then return an error that the SQL statement could not observe. The mutable path similarly discarded the final `Mutator.Close` error. In both cases the success row was added before deferred finalization ran. ### Changes - Make the common file-output finalizer return an error. - Await and return the worker's final `FileService.Write` result in the non-mutable path. - Return the final `Mutator.Close` result in the mutable path. - Explicitly finalize the output before adding the success result row, and retain deferred finalization for early-error paths. - Join an early statement error with any concurrent finalization error instead of discarding either one. - Finalize the writer before deleting partial output so cleanup cannot race an active stream. - Add focused tests for a file service that consumes the complete stream before failing, SQL-level error/result-row/cleanup behavior, mutable close failure propagation, success, immediate write failure, and setup failures. No public API, SQL syntax, output format, or configuration behavior changes. ### Tests Pre-fix reproduction on `main` used a package-level file service wrapper that fully consumed each `ReaderForWrite` before returning `mock late write failure`. In 3/3 runs, both `BEGIN` and `COMMIT` writes returned nil, and the no-result release callback was the only observer of the failure. Post-fix exhaustive verification on `main@84f0d11`: - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - Focused output-file regression set, `-count=3` (9 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test -count=1 -timeout=20m ./pkg/frontend` (PASS, 24.471s) - Race selection was enumerated and contained all 7 new/modified behavioral tests. - Race measurements were `T=0s` to `0.04s`; with `B=30s`, the adaptive rule selected `N=100` for every test. - Each selected exact test passed independently with `-race -count=100`. - `.agents/skills/mo-dev/scripts/mo-cgo-test -race -count=1 -timeout=20m ./pkg/frontend` (PASS, 37.818s) - `git diff --check origin/main...HEAD` Rebase verification on `main@0b8b53d`: - Focused output-file finalization set, `-count=3` (8 exact tests) - `.agents/skills/mo-dev/scripts/mo-cgo-test ./pkg/frontend -count=1` (PASS, 33.817s) - CGo-configured `go build -mod=readonly ./pkg/frontend` - CGo-configured `go vet -mod=readonly ./pkg/frontend` - `git diff --check origin/main...HEAD` - `git range-diff` confirmed the rebase preserved the patch exactly. BVT is not appropriate for this regression because the required boundary is a deterministic post-consumption `FileService.Write` or `Mutator.Close` fault, which the SQL BVT harness cannot inject. The package-level tests cover both file-service implementations and the SQL result-row boundary directly. ### CI follow-up Two attempt-1 Ubuntu/x86 UT failures were proven unrelated to this PR; in both jobs, `pkg/frontend` passed and the failures were in packages outside this two-file diff. The first failure exposed ISCP, embedded-cluster heartbeat, and lockservice signatures: the previously unreported ISCP cases were filed as matrixorigin#26517, while existing matrixorigin#26374 and matrixorigin#26441 / matrixorigin#26448 cover the other signatures. After rebasing, a second failure exposed current-main embedded-cluster heartbeat/reset cases and was filed as matrixorigin#26522. Per CI policy, the failed jobs for the current-head workflow were rerun exactly once; attempt 2 passed. ### Residual risks No known correctness gap remains in final write/close error propagation. Partial-output deletion retains the existing best-effort cleanup contract: this change guarantees cleanup is invoked after writer termination, but a backend `Delete` failure remains secondary to the original output failure and is not returned separately. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What type of PR is this?
Which issue(s) this PR fixes:
issue #26441
What this PR does / why we need it:
The authenticated issue tests previously started a second persistent embedded
LogService/TN cluster in the same UT process. Under race-enabled CI scheduling
pressure, the two clusters competed for Dragonboat tick/proposal processing,
which could starve HAKeeper heartbeats and reset a foreground SQL connection.
This PR routes authenticated issue tests through the existing
RunBaseClusterTestscluster instead of creating a second cluster. Becausethat base cluster is shared by all
RunBaseClusterTestscallers, the test-onlyconfiguration changes apply to every base-cluster consumer:
heartbeat deadline strictly below the liveness window;
accountadminrole now that theshared cluster enforces authentication.
TestAuthenticatedTestsReuseBaseClusterverifies cluster identity and theeffective CN, TN, and LogService timeout configuration. Production defaults,
SQL behavior, assertions, and retry semantics are unchanged.
Validation:
.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestAuthenticatedTestsReuseBaseCluster$' -count=1.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/tests/issues -run '^TestIssue26114LegacyCrossAccountMetadataCountsTowardTargetQuota$' -count=10.agents/skills/mo-dev/scripts/mo-cgo-test -race ./pkg/embed -run '^TestIcebergSQLEngineEmbeddedWriteDMLAndMaintenanceSQL$' -count=1make buildmake static-checkgit diff --check