Repository navigation
ci: verify coverage fixtures against the PR merge base - #516
Merged
XuPeng-SH merged 1 commit intoNov 30, 2026
Merged
Conversation
1 of 7 tasks
XuPeng-SH
added a commit
to matrixorigin/matrixone
that referenced
this pull request
Nov 30, 2026
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Rolls out matrixorigin/CI#516. An example of the previous Shanghai fallback was #33532. ## What this PR does / why we need it: Pin the UT Coverage entrypoint, both standby worker routes and the cross-repository contract to `f20738ba8bd33a8dceec265ed9193e064608a01e`, the upstream squash commit of matrixorigin/CI#516. The protected MatrixOne entrypoint on `main` serves eligible PRs targeting both `main` and `4.2-dev`. PRs that inherit the S3 tests from their target branch can now keep two-group coverage as those files evolve. ### Validation - The MatrixOne cross-repository contract detected the previous pin when run against the merged companion. After updating all four references, 76 MatrixOne tests passed across dispatch, identity, retry and cleanup. - 165 Coverage companion tests passed on Linux/amd64 at the exact upstream revision with networking disabled. - Actionlint 1.7.12 passed for all three edited workflows. Verified the complete diff changes four immutable SHA references.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
matrixorigin/matrixone#33388 changed
object_storage_arguments_test.goon4.2-dev. Unrelated PRs inheriting the reviewed change, including matrixorigin/matrixone#33532, fell back to Shanghai because the CI repository still listed the previous Git blob. Both release and main carried these per-file lists. Earlier updates required separate CI PRs such as #497 and #507.Change
Use the common ancestor of the protected target branch and the verified PR head as the source of the four S3 test files. Compare the regular Git blobs at both immutable revisions. An inherited change becomes eligible automatically, even when the target advances after a PR branches. A PR that changes a fixture itself, lacks one, or encounters incomplete GitHub metadata uses Shanghai. A workflow notice explains that decision.
The entry reads the merge base from a paginated GitHub comparison and fetches just the four tree entries per revision with one GraphQL query. Initial runs and group retries use the same check. The existing live membership, head, retry and worker smoke checks still apply. This removes both blob registries, the release JSON snapshot, and its separate network-based check.
Validation
46ba076373d0.Rollout
After this PR is squash-merged, update the four CI pins across the MatrixOne main entrypoint, standby worker and identity-contract workflows to the resulting upstream commit. The one rollout serves both
mainand4.2-dev. This change uses the existing S3 authorization and worker pools.