Repository navigation
ci: bound full Python shards across concurrent runs - #6274
loopx-agent wants to merge 7 commits into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: song <liusongstep@gmail.com>
Signed-off-by: song <liusongstep@gmail.com>
…rsing Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Limit full Python test shards to four shared repository-wide lanes, one per matrix shard. Concurrent runs retain their pending shards with
queue: max; the existing obsolete-head cancellation and required failure/coverage gates remain in place.This reduces long-test occupancy for runs carrying the new workflow. Contributors may wait longer; this does not reserve capacity or guarantee release priority across the organization's hosted pool. Older workflow versions do not participate. Rollback removes only the job-level concurrency block.
Validation at base
38cb407edc39752d3ad6b4d414ca5c5255aba177, head81c9550c556d7b89585cb49dfbcba26c9a78fca7:test-shard.concurrency. Removing admission fails its invariant; the other eight selected gate tests pass.cqr_b71d69d58b1381178e28.The PR remains a draft pending live qualification and required CI. The future-facing pass found the existing matrix/concurrency/gate owner sufficient; no additional scheduler or refactor was needed.
中文:全量 Python 测试按四个 matrix 分片共用仓库级并发组,采用
queue: max保留等待分片。保留同 PR 旧 head 取消、完整测试集合、四分片、双 worker、报告与 coverage 必需门槛。重叠运行会增加贡献者等待;该限制只缓解长分片占用,不预留组织 runner 或保证发布最高优先,旧版 workflow 不参与。回退时仅移除 job 级 concurrency 块。当前精确 base/head 的 14 项契约、真实 Bash 负例、缺失/空 coverage、完整 YAML 差异、移除并发准入的独立反例、Ruff、语义与原生风险检查通过。合入最新 main 和既有远端工作,使用更新后的真实 Host ACK 夹具;七个本机诊断两臂均为 3 通过/4 失败,完整失败签名一致,不能豁免 Linux 必过 CI。跨 run 串行、最多四路运行与新增等待成本仍待真实环境验证;现有前置 run 尚未获得 job,因此保持草稿。既有 owner 足够,无需额外 scheduler 或重构。