Repository navigation
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 medium deep review comment at exact head 7bf70f5. The workflow change and its contract test are consistent with the reusable workflow's four disjoint shards and AND-gated summary. No blocking defect found in this declarative change. Validation caveat: this head's pull_request_target run skipped ; the Go UT suite ran as one unsharded job (59m12s), while the separate contract test passed. Please ensure the first applicable post-merge CI actually executes all four shards and the combined success gate, and capture elapsed/queued time and runner minutes.
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 medium deep review comment at exact head 7bf70f5. The workflow change and its contract test are consistent with the reusable workflow's four disjoint shards and AND-gated summary. No blocking defect found in this declarative change. Validation caveat: this head's pull_request_target run skipped the Matrixone CI execution job with inputs.ut_sharded; the Go UT suite ran as one unsharded job (59m12s), while the separate contract test passed. Please ensure the first applicable post-merge CI actually executes all four shards and the combined success gate, and capture elapsed/queued time and runner minutes.
7bf70f5 to
a6d7f3d
Compare
|
Post-rebase status: the PR branch is now at |
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 medium deep review at a6d7f3da13a73d2cde809342604e3066862bc435 — implementation PASS; no code blocker found. The shard-stage mapping is complete and disjoint (light+hnsw, serial, embedded, heavy+plan), and the reusable workflow’s fail-fast: false matrix plus required summary job forms an AND gate over all four shards. Package selection and tests are unchanged; this PR only changes the trusted caller input and its workflow contract test.
Validation boundary: current-head run 34902592518 is green, but it did not execute the new sharded setting. It ran a single UT Test on Ubuntu/x86 for 58m03s, and the ut_sharded summary job was skipped. Its referenced reusable workflow revision is e43e7077e87ebdcefa66b12e3b1778b984cc3ce2, which supports the four-shard mode; pull_request_target still uses the base-branch caller workflow for this run. The PR body explicitly records the first post-merge run as the acceptance check. Keep that check outstanding until all four shard jobs start and succeed and the summary AND gate is green; record elapsed time, queue time, peak resource use, and total runner-minutes as planned. This is a verification limitation, not a finding against the static shard contract.
## 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: Related to #27822 and #28538. Reverts #28880. ## What this PR does / why we need it: Reverts commit 1a8bf39, restoring `ut_sharded: false` and the corresponding workflow contract test. The complete race-UT suite runs on one runner again. After sharding was enabled, the four UT shards passed in PR #28830, but the required summary check failed before runner allocation because the reusable workflow requires five EE_DB secrets. Those secrets exist in the ci environment, which the summary job does not select. Failure evidence: https://github.com/matrixorigin/matrixone/actions/runs/34916576954/job/104224671932 This rollback disables the affected summary path; it does not repair the shared workflow secret contract. It also restores the previous single-runner aggregate timeout exposure tracked in #28538. ### Test plan - Passed: `node --test .github/ci/change-scope.test.cjs` (13/13). - Passed: `git diff --cached --check` before commit. - Confirm CI runs the complete suite on one runner and publishes the existing required UT check.
## 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: Related to matrixorigin#28538 ## What this PR does / why we need it: The complete Linux race-UT suite is currently invoked with `UT_SHARD=all` on one runner. Its independent light, issues, embedded, and heavy-plan stages therefore share one 70-minute outer deadline. Repeated runs, including PR matrixorigin#28862, reach that deadline and cancel otherwise-running tests without a terminal assertion or race report. This restores the existing reusable CI workflow's complete four-way shard contract by passing `ut_sharded: true` from the MatrixOne caller. Each shard retains the same race flags, package selection, per-test timeout, and diagnostic handling; the reusable workflow's summary job remains an AND gate, so a failed, cancelled, or missing shard cannot be reported as success. UT coverage and its artifact prerequisites are unchanged and remain independent of the race-UT matrix. The workflow contract test now asserts the two functional inputs without coupling the test to explanatory comment text. ### Test plan - `node --test .github/ci/change-scope.test.cjs` (13/13) - `GOWORK=off go test -race ./optools -count=1` - `bash -n optools/run_ut.sh` - `GOWORK=off go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/entrypoint.yaml` - Ruby YAML parse of `.github/workflows/entrypoint.yaml` - `git diff --check` The first post-merge CI run must confirm all four shard jobs start and that the required-check summary remains green only when every shard succeeds. It should also record each shard's elapsed/queue time, peak resource usage, and total runner-minutes. This change accepts the extra runner capacity as the explicit reliability trade-off; it does not claim that total runner cost decreases.
## 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: Related to matrixorigin#27822 and matrixorigin#28538. Reverts matrixorigin#28880. ## What this PR does / why we need it: Reverts commit 1a8bf39, restoring `ut_sharded: false` and the corresponding workflow contract test. The complete race-UT suite runs on one runner again. After sharding was enabled, the four UT shards passed in PR matrixorigin#28830, but the required summary check failed before runner allocation because the reusable workflow requires five EE_DB secrets. Those secrets exist in the ci environment, which the summary job does not select. Failure evidence: https://github.com/matrixorigin/matrixone/actions/runs/34916576954/job/104224671932 This rollback disables the affected summary path; it does not repair the shared workflow secret contract. It also restores the previous single-runner aggregate timeout exposure tracked in matrixorigin#28538. ### Test plan - Passed: `node --test .github/ci/change-scope.test.cjs` (13/13). - Passed: `git diff --cached --check` before commit. - Confirm CI runs the complete suite on one runner and publishes the existing required UT check.
## 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: Related to matrixorigin#28538 ## What this PR does / why we need it: The complete Linux race-UT suite is currently invoked with `UT_SHARD=all` on one runner. Its independent light, issues, embedded, and heavy-plan stages therefore share one 70-minute outer deadline. Repeated runs, including PR matrixorigin#28862, reach that deadline and cancel otherwise-running tests without a terminal assertion or race report. This restores the existing reusable CI workflow's complete four-way shard contract by passing `ut_sharded: true` from the MatrixOne caller. Each shard retains the same race flags, package selection, per-test timeout, and diagnostic handling; the reusable workflow's summary job remains an AND gate, so a failed, cancelled, or missing shard cannot be reported as success. UT coverage and its artifact prerequisites are unchanged and remain independent of the race-UT matrix. The workflow contract test now asserts the two functional inputs without coupling the test to explanatory comment text. ### Test plan - `node --test .github/ci/change-scope.test.cjs` (13/13) - `GOWORK=off go test -race ./optools -count=1` - `bash -n optools/run_ut.sh` - `GOWORK=off go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/entrypoint.yaml` - Ruby YAML parse of `.github/workflows/entrypoint.yaml` - `git diff --check` The first post-merge CI run must confirm all four shard jobs start and that the required-check summary remains green only when every shard succeeds. It should also record each shard's elapsed/queue time, peak resource usage, and total runner-minutes. This change accepts the extra runner capacity as the explicit reliability trade-off; it does not claim that total runner cost decreases.
## 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: Related to matrixorigin#27822 and matrixorigin#28538. Reverts matrixorigin#28880. ## What this PR does / why we need it: Reverts commit 1a8bf39, restoring `ut_sharded: false` and the corresponding workflow contract test. The complete race-UT suite runs on one runner again. After sharding was enabled, the four UT shards passed in PR matrixorigin#28830, but the required summary check failed before runner allocation because the reusable workflow requires five EE_DB secrets. Those secrets exist in the ci environment, which the summary job does not select. Failure evidence: https://github.com/matrixorigin/matrixone/actions/runs/34916576954/job/104224671932 This rollback disables the affected summary path; it does not repair the shared workflow secret contract. It also restores the previous single-runner aggregate timeout exposure tracked in matrixorigin#28538. ### Test plan - Passed: `node --test .github/ci/change-scope.test.cjs` (13/13). - Passed: `git diff --cached --check` before commit. - Confirm CI runs the complete suite on one runner and publishes the existing required UT check.
## 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: Related to matrixorigin#28538 ## What this PR does / why we need it: The complete Linux race-UT suite is currently invoked with `UT_SHARD=all` on one runner. Its independent light, issues, embedded, and heavy-plan stages therefore share one 70-minute outer deadline. Repeated runs, including PR matrixorigin#28862, reach that deadline and cancel otherwise-running tests without a terminal assertion or race report. This restores the existing reusable CI workflow's complete four-way shard contract by passing `ut_sharded: true` from the MatrixOne caller. Each shard retains the same race flags, package selection, per-test timeout, and diagnostic handling; the reusable workflow's summary job remains an AND gate, so a failed, cancelled, or missing shard cannot be reported as success. UT coverage and its artifact prerequisites are unchanged and remain independent of the race-UT matrix. The workflow contract test now asserts the two functional inputs without coupling the test to explanatory comment text. ### Test plan - `node --test .github/ci/change-scope.test.cjs` (13/13) - `GOWORK=off go test -race ./optools -count=1` - `bash -n optools/run_ut.sh` - `GOWORK=off go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/entrypoint.yaml` - Ruby YAML parse of `.github/workflows/entrypoint.yaml` - `git diff --check` The first post-merge CI run must confirm all four shard jobs start and that the required-check summary remains green only when every shard succeeds. It should also record each shard's elapsed/queue time, peak resource usage, and total runner-minutes. This change accepts the extra runner capacity as the explicit reliability trade-off; it does not claim that total runner cost decreases.
## 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: Related to matrixorigin#27822 and matrixorigin#28538. Reverts matrixorigin#28880. ## What this PR does / why we need it: Reverts commit 1a8bf39, restoring `ut_sharded: false` and the corresponding workflow contract test. The complete race-UT suite runs on one runner again. After sharding was enabled, the four UT shards passed in PR matrixorigin#28830, but the required summary check failed before runner allocation because the reusable workflow requires five EE_DB secrets. Those secrets exist in the ci environment, which the summary job does not select. Failure evidence: https://github.com/matrixorigin/matrixone/actions/runs/34916576954/job/104224671932 This rollback disables the affected summary path; it does not repair the shared workflow secret contract. It also restores the previous single-runner aggregate timeout exposure tracked in matrixorigin#28538. ### Test plan - Passed: `node --test .github/ci/change-scope.test.cjs` (13/13). - Passed: `git diff --cached --check` before commit. - Confirm CI runs the complete suite on one runner and publishes the existing required UT check.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #28538
What this PR does / why we need it:
The complete Linux race-UT suite is currently invoked with
UT_SHARD=allonone runner. Its independent light, issues, embedded, and heavy-plan stages
therefore share one 70-minute outer deadline. Repeated runs, including PR
#28862, reach that deadline and cancel otherwise-running tests without a
terminal assertion or race report.
This restores the existing reusable CI workflow's complete four-way shard
contract by passing
ut_sharded: truefrom the MatrixOne caller. Each shardretains the same race flags, package selection, per-test timeout, and diagnostic
handling; the reusable workflow's summary job remains an AND gate, so a failed,
cancelled, or missing shard cannot be reported as success. UT coverage and its
artifact prerequisites are unchanged and remain independent of the race-UT
matrix.
The workflow contract test now asserts the two functional inputs without
coupling the test to explanatory comment text.
Test plan
node --test .github/ci/change-scope.test.cjs(13/13)GOWORK=off go test -race ./optools -count=1bash -n optools/run_ut.shGOWORK=off go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/entrypoint.yaml.github/workflows/entrypoint.yamlgit diff --checkThe first post-merge CI run must confirm all four shard jobs start and that the
required-check summary remains green only when every shard succeeds. It should
also record each shard's elapsed/queue time, peak resource usage, and total
runner-minutes. This change accepts the extra runner capacity as the explicit
reliability trade-off; it does not claim that total runner cost decreases.