Skip to content

ci: migrate x86 UT coverage to CloudSigma runners - #475

Merged
XuPeng-SH merged 34 commits into
mainfrom
codex/coverage-cs-cutover
Nov 24, 2026
Merged

XuPeng-SH merged 34 commits into
mainfrom
codex/coverage-cs-cutover

Conversation

@Ariznawlll

@Ariznawlll Ariznawlll commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Review scope: two independent UT groups on the shared CS reader queue

Eligible MatrixOne PRs enqueue exactly group 0 and group 1 against the same cs-node-cache-7c14g label. Neither the PR number nor the other group's placement selects a site or node. The assigned reader must match the registered pool name, injected environment, expected node and Kubernetes node before checkout. Existing volume/authority checks, resource shape, site-local S3 and per-run/attempt/group prefixes remain in force. The unchanged legacy workflow handles PRs outside the cache trust scope.

Review: scheduling change and workflow checks. Local checks: 23 tests passed (entry, placement, S3, artifact selection); actionlint passed. The full measured job-body digest still protects the pinned UT/cache implementation after normalizing only the production wiring.

Existing execution evidence, not shared-queue acceptance: MatrixOne #32871 ran the pinned payload on MTY 26:44, JED 29:37, MNL2 32:46, RUH 34:31, with preselected placement. These runs are not being repeated. Earlier read-only coverage selection replay used the original caller generation and real UT/BVT artifacts; replay did not publish coverage.

Not yet accepted: one trusted real-PR canary must record a genuinely resource-full eligible site, a job acquired elsewhere, the two actual runner/node and same-site S3 bindings, and coverage handoff. Registering a shared label does not guarantee Kubernetes capacity: an online ARC listener can acquire demand before a Pod is schedulable. Job assignment under saturation and the one-slot case are not proven by YAML checks. Do not manufacture saturation by disrupting workloads. The production caller still uses CI@main; neither that caller nor any cluster configuration was changed here. Not merged.

@Ariznawlll
Ariznawlll marked this pull request as ready for review November 11, 2026 09:24
@Ariznawlll
Ariznawlll marked this pull request as draft November 11, 2026 20:07
@Ariznawlll

Copy link
Copy Markdown
Collaborator Author

已补充 CS S3 接入合约测试和 JED 内部 endpoint 部署说明(a414b3e)。CS 路径按 runner 环境选择对应 secret;受信任 PR 配置不全时明确失败;真实 COS/OSS 不注入 CS 日常 UT;强制核对 CS S3 basic 和 streaming_write 实际 pass。修复 secret-free local MinIO canary 仍错误要求云凭证的检查。本地 13 项 Python 测试和 actionlint 通过;最新 Linux 合约及隔离读写清理验证运行于 https://github.com/matrixorigin/matrixone/actions/runs/43149448772 。依赖 matrixorigin/matrixone#32590;真实 S3 配置和验证未完成,保持 draft,不切换 main 或现有正式测试。

@Ariznawlll
Ariznawlll marked this pull request as ready for review November 13, 2026 12:47
@Ariznawlll

Copy link
Copy Markdown
Collaborator Author

MatrixOne caller and single-group worker (draft, do not merge): matrixorigin/matrixone#32944. This adds a hosted per-group CS queue observer, positive admission before PR checkout, and an independent Shanghai fallback. The real 600-second mixed-site handoff has NOT yet been validated.

@XuPeng-SH
XuPeng-SH merged commit 3b50537 into main Nov 24, 2026
1 check passed
@XuPeng-SH
XuPeng-SH deleted the codex/coverage-cs-cutover branch November 24, 2026 14:40
XuPeng-SH pushed a commit to matrixorigin/matrixone that referenced this pull request Nov 24, 2026
…n CS after one hour (#32944)

Companion to matrixorigin/CI#475. Review only;
do not merge yet.

Each of the two Coverage UT groups requests CS independently. The hosted
dispatcher may withdraw only its own unadmitted single-group child,
after observing 3,600 seconds (one hour) in the CS runner queue. A CS
assignment wins a deadline race. Shanghai uses the tested safe pool and
receives an exclusive admission before it executes PR code. PR checks,
cache/UT implementation, TKE and Coverage BVT are not changed here.

Permissions: keep the repository default read-only. Only the trusted
hosted selection job inside the pinned reusable workflow uses
actions:write. Worker jobs only receive read access via GITHUB_TOKEN.
The existing coverage consumer receives both selected group artifacts
under the parent generation.

Validation: workflow lint, immutable CS test body contract, timeout and
race unit tests. The [previous mixed-site
drill](https://github.com/matrixorigin/matrixone/actions/runs/44552644380)
used the old 10-minute threshold. The [failed-only rerun on
#32922](https://github.com/matrixorigin/matrixone/actions/runs/44685294864/attempts/2)
passed: the previously successful JED group 0 worker was not rerun; only
group 1 ran again on MTY. Both profiles were merged and [84.46% UT
statement
coverage](https://github.com/matrixorigin/matrixone/actions/runs/44685294864/artifacts/14607893709)
was reported on the reviewed PR head. This was not a one-hour congestion
drill.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
XuPeng-SH pushed a commit to matrixorigin/matrixone that referenced this pull request Nov 24, 2026
Production MatrixOne ALL CI stopped during workflow resolution before
creating jobs:
[#33169](https://github.com/matrixorigin/matrixone/actions/runs/45417879630)
and
[#32812](https://github.com/matrixorigin/matrixone/actions/runs/45417959440).

Pin the entrypoint and both CS/Shanghai worker calls to the actual main
commit of [CI #475](matrixorigin/CI#475),
3b50537a3379cec5e78d80f7b43d2a31936e4d35, instead of the pre-merge PR
head in [#32944](#32944).
Both revisions have the same Git tree. Two files, three pin
substitutions; no changes to permissions, routing, UT or caches.

Validated: all three target files exist at the exact merged revision and
declare workflow_call; actionlint and git diff --check passed. A
pull_request_target run uses the base workflow, so checks on this PR
alone cannot establish production recovery. Confirm a fresh eligible PR
creates both workers after merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants