Skip to content

test(ci): verify production CS Coverage UT dispatch (do not merge) - #33174

Closed
Ariznawlll wants to merge 7 commits into
matrixorigin:mainfrom
Ariznawlll:test/coverage-standby-scope-canary
Closed

Ariznawlll wants to merge 7 commits into
matrixorigin:mainfrom
Ariznawlll:test/coverage-standby-scope-canary

Conversation

@Ariznawlll

@Ariznawlll Ariznawlll commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • Test and CI

Which issue(s) this PR fixes:

Regression coverage for issue #30078, acceptance criterion 3: edits to shared CI routing must keep full kernel CI even alongside SDK edits. The issue is already closed; this PR adds test coverage only.

What this PR does / why we need it:

Adds two change-scope regression cases (worker alone and worker plus SDK): changing the Coverage standby worker must select full CI. Opened to exercise the production main entrypoint with a real, eligible PR following the workflow pin fix. No changes to workflow code, runner labels, permissions, caches or product behavior. Check the two dispatched workers, their actual runners and the merged coverage result. Please leave unmerged.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify

mergify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is closed, so it cannot be queued. Reopen it to get the box back.

@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Nov 24, 2026
XuPeng-SH pushed a commit that referenced this pull request Nov 24, 2026
## What type of PR is this?

- [x] Test and CI

## Which issue(s) this PR fixes:

No separate issue. The production failure is recorded in [the #33174
preflight
job](https://github.com/matrixorigin/matrixone/actions/runs/45420083928/job/138537094465).
The implementation was reviewed and merged in
[matrixorigin/CI#485](matrixorigin/CI#485).

## What this PR does / why we need it:

Pin the default-branch Coverage UT entrypoint to the actual merged CI
commit, a96597119b51dab81ede8b084ab44d2427830625. The current pin aborts
both groups before dispatch when a previously reviewed cache producer is
no longer reachable. The new pin allows scheduling in that case; workers
still validate cache provenance and do not consume unverifiable entries.

Only the caller pin changes. Both worker pins, PR trust checks, runner
pools, permissions and cache writes are unchanged.

Validated with actionlint and git diff --check. The [isolated #33174
run](https://github.com/matrixorigin/matrixone/actions/runs/45424603920)
passed the updated preflight with the production CI read credential and
both CS groups entered Coverage UT. This is not a validation of the
main-branch wiring. After review and merge, trigger a fresh #33174 run
and verify both groups and coverage feedback through the default branch.
No four-site rerun needed.
@XuPeng-SH

XuPeng-SH commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

mo-bot review · mo-bot-local · done

Commit: 089c85f744c759d03b608c05bfcfb5217ec9639d

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 089c85f744c759d03b608c05bfcfb5217ec9639d

Assessment: approve

The two added table cases correctly protect full kernel CI routing for a coverage standby worker change, alone and with an SDK change. They reuse the existing classifier test and add no production behavior or fixture complexity. The classifier retains SDK impact for mixed changes and the existing result gate requires the SDK job when indicated. The author explicitly asks to leave this exercise unmerged; this technical assessment does not authorize merging.

Model: gpt-6.1-terra / max

Session: 01a20e76-4299-7740-a2f7-aab396dbb362 · slot 0 · generation 9

Validation:

  • Read the complete two-line delta, the linked issue, all indexed discussion, classifier, main preflight and result-gate consumers, and neighboring SDK coverage.

  • Focused node --test selection at the assigned head: 4 tests passed, 17 other tests skipped by the name filter, exit 0; retained node-focused.log and checks/1795539821945317030-3.json agree on command, head, and exit.

  • The supplied CI snapshot reports both UT coverage group selections and collections, coverage group merge, and the required CI check as successful.

Limitations:

  • The supplied snapshot does not identify the individual coverage worker runners or contain their dispatch logs, so those canary-run details were not independently verified.

@XuPeng-SH

XuPeng-SH commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

mo-bot review · mo-bot-local · done

Commit: 1e82b07940bca943143ab5807e4ebea0980b9d98

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 1e82b07940bca943143ab5807e4ebea0980b9d98

Assessment: approve

The two added cases correctly test full CI classification for a coverage standby worker change, alone and alongside an SDK change. They reuse the existing classifier fixture and do not change production routing.

Model: gpt-6.1-terra / max

Session: 01a2172e-434d-7533-8bcf-86e4c749a300 · slot 1 · generation 20

Validation:

  • The complete change-scope Node test file passed all 21 tests with none skipped: node-tests.log and checks/1795707705049524904-5.json.

  • A separate probe confirmed full scope for the exact worker and mixed inputs, retained the SDK requirement in both file orders, and rejected a skipped required SDK job: classifier-probe.log and checks/1795707714811487034-5.json.

  • The supplied CI snapshot reports successful coverage-group selection and collection, coverage merges, and CI Required.

Limitations:

  • The supplied CI snapshot does not identify the individual coverage worker runners or include their dispatch logs.

  • The PR is marked as an exercise to leave unmerged; this assessment is technical and does not authorize merging.

This branch had an error being deployed

1 failed deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/wip kind/test-ci size/XS Denotes a PR that changes [1, 9] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants