Skip to content

ci: use one lightweight Coverage collector for main and 4.2-dev - #33516

Merged
XuPeng-SH merged 1 commit into
mainfrom
ci/use-single-coverage-collector
Nov 30, 2026
Merged

XuPeng-SH merged 1 commit into
mainfrom
ci/use-single-coverage-collector

Conversation

@XuPeng-SH

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

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • Test and CI

Which issue(s) this PR fixes:

Related to #33440 and #33416.

What this PR does / why we need it:

Pin the coverage entrypoint, the CS and Shanghai worker calls, and the identity contract to the squash commit that landed matrixorigin/CI#513, b1516cf9a12017cf5e763036dc42fdbca881d661. These four pins are the entire change. The trusted main entrypoint serves eligible PRs targeting both main and 4.2-dev. Merged shared workflow · Release-target example

After both workers pass, one collector on the control pool verifies the admitted commit and package scope and merges the original profiles. The two per-group collection jobs and final status job disappear. Selection, cancellation and retry stay with each worker's selector.

Verification

  • Checked both target branches against the merged admission code. The latest reviewed main S3 fixture and the 4.2-dev fixture both qualify. The final pin passed 76 local contract tests. GitHub also passed the dispatch, retry, cleanup, identity and CI scope checks on this revision. Dispatch and identity · CI scope · Shared CI validation
  • Replaying both branches' original UT and BVT artifacts through the coverage gate reproduced the published merged profiles, changed-line profiles and summary JSON byte for byte. Main covered 19 of 22 changed lines and 4.2-dev covered 25 of 25. Main coverage · 4.2-dev coverage
  • A real receipt-upload failure returned ready=true, status=failed. Failure before admission left both outputs empty. A cancelled worker published no combined profile, and a failed-only retry retained the successful sibling's output. Receipt assertions · Cancellation · Retry

Rollout

The required run for this PR uses the existing default-branch entrypoint and its previous pin, d1dd33c. Merging this PR activates the new collector for subsequent eligible main and 4.2-dev runs. Pre-merge CI run Reverting the four pins restores the preceding collector.

@mergify mergify Bot added the kind/test-ci label Nov 30, 2026
@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Nov 30, 2026
@XuPeng-SH
XuPeng-SH force-pushed the ci/use-single-coverage-collector branch from e3a4e7b to 8636468 Compare November 30, 2026 11:49
@XuPeng-SH
XuPeng-SH marked this pull request as ready for review November 30, 2026 11:49
@XuPeng-SH
XuPeng-SH requested a review from fengttt as a code owner November 30, 2026 11:49
@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 merged commit 7d68447 into main Nov 30, 2026
43 of 47 checks passed
@XuPeng-SH
XuPeng-SH deleted the ci/use-single-coverage-collector branch November 30, 2026 11:56
@XuPeng-SH
XuPeng-SH restored the ci/use-single-coverage-collector branch November 30, 2026 11:56
@XuPeng-SH
XuPeng-SH deleted the ci/use-single-coverage-collector branch November 30, 2026 11:56

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/XS Denotes a PR that changes [1, 9] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants