Skip to content

ci: enable capacity-aware UT Coverage for main and 4.2-dev PRs - #33491

Merged
XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
XuPeng-SH:ci/activate-coverage-pool-recovery
Nov 30, 2026
Merged

XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
XuPeng-SH:ci/activate-coverage-pool-recovery

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Related to #33416.

What this PR does / why we need it:

Merging this PR enables capacity-aware UT Coverage for eligible PRs targeting both main and 4.2-dev. GitHub loads the pull_request_target entrypoint from main for both targets. The release target must pass its own S3 fixture check. The shared entrypoint, workers and contract pin d1dd33c68b25d1c57f0b4d154de98a6f9dbc711d. The scheduler can move a stalled reservation to another CS pool and use Shanghai when it confirms insufficient CS capacity. CI #508

Live progress during rollout. An older parent running a new Shanghai worker can still display “preparing Coverage UT” while tests are running. Open GROUP0 or GROUP1, expand Wait for selected group, including its UT result, and follow the URL after open worker for live UT logs. Open the worker job and its Run coverage unit tests step for live output. The parent propagates the worker’s terminal result. Example of the worker link in a parent log

Validation. Replayed the authorization receipts and file metadata from a real PR for each target through the pinned selector. Both passed eligibility from the default-branch workflow. The regression test detects an accidental main-only dispatch or using the workflow ref as the PR target. All 89 MatrixOne CI contract tests and 153 companion tests passed locally. The cross-version replay covered 86 admissions and matched both groups’ profile and skip-manifest names. Main sample · 4.2-dev sample

After merge. Check one newly triggered eligible PR per target. Confirm that each parent references coverage-ut.yaml@d1dd33c, both groups report their assigned runners and UT results, and a successful parent collects both profiles and skip manifests and publishes the combined coverage profile.

@XuPeng-SH
XuPeng-SH requested a review from fengttt as a code owner November 30, 2026 06:19
@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 30, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@XuPeng-SH XuPeng-SH changed the title ci: enable capacity-aware UT Coverage on main ci: enable capacity-aware UT Coverage for main and 4.2-dev PRs Nov 30, 2026
@matrix-meow matrix-meow added size/M Denotes a PR that changes [100,499] lines and removed size/S Denotes a PR that changes [10,99] lines labels Nov 30, 2026
@XuPeng-SH
XuPeng-SH merged commit 247e104 into matrixorigin:main Nov 30, 2026
35 of 40 checks passed
@XuPeng-SH
XuPeng-SH deleted the ci/activate-coverage-pool-recovery branch November 30, 2026 06:44

This branch was successfully deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/test-ci size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants