Repository navigation
ci: select the first CS pool by verified capacity for Coverage UT - #504
Merged
Merged
Conversation
Ariznawlll
marked this pull request as ready for review
November 28, 2026 14:00
Collaborator
Author
|
@XuPeng-SH 麻烦帮忙复审一下 #504。已同步 CI |
Merged
1 of 7 tasks
XuPeng-SH
added a commit
to matrixorigin/matrixone
that referenced
this pull request
Nov 28, 2026
…33436) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Related to #33416 as a follow-up to the shared Coverage routing work. ## What this PR does / why we need it: Wire the protected default-branch Coverage entrypoint for PRs targeting `main` and `4.2-dev`, including authorized draft PRs. Capacity-aware first placement is default-off. It uses an ARC capacity hint, keeps a verified runner assignment and confirms the original child is terminal before any replacement. The dispatcher, both workers and the contract checkout pin the published CI `main` commit `70206949f96aaf1fe76cc2c5e88bbd9450fa9bf0`. Its tree matches the reviewed companion commit and the four pins pass the local cross-repository contract. Production activation requires the repository setting and an approved read-only source. [CI #504](matrixorigin/CI#504) Validated against `main` at `c4b054874b8e`. Actionlint, 86 CI scope tests and two cross-repository contract tests passed locally. The companion passed 169 Linux tests and selector fault injection for both bases, including exclusion of cordoned and terminating DirectPV drives, late runner metadata and terminal confirmation. Live capacity-aware placement and fallback await validation with the production capacity source. --------- Co-authored-by: XuPeng-SH <[email protected]>
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.
Scope
Capacity-aware first placement is default-off for PRs already authorized for CS Coverage UT against
mainor4.2-dev. The protected entrypoint may opt in on the initial attempt. Each group needs the existing exact parent grant and live PR authorization before running tests.First placement and fallback
EphemeralRunnerSet. Bound runner pods count toward that target. This uses the same ARC API on 0.14 and 0.15. Upstream ARC status change Cordoned and terminating DirectPV drives contribute zero work slots even when their status isReady.Validation and rollout
Passed 169 related tests on Linux and workflow actionlint. Fault injection through the selector on both bases showed that incomplete runner fields now fall back at 40 seconds on the simulated clock, with one grant to the replacement. If the fields settle at handoff, the original worker gets the grant. Missing placement records and transient reads also fall back, and a mismatched child attempt receives no grant or cancellation request. The ARC 0.14/0.15, missing job and cancellation HTTP 503 cases were rechecked.
A/B replay on both bases covered cordoned and terminating drives. A healthy peer received the first dispatch when offered. With no usable offer, the selector dispatched directly to shared CS. Both paths wrote one grant and avoided the extra cancellation.
Activation requires an approved read-only source and verification of S3 health, live runner assignment and fallback at configured sites. MatrixOne #33436