Skip to content

fix(ci): split oversized hosted main test groups - #198517

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-hosted-main-test-envelope-20261114
Nov 14, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-hosted-main-test-envelope-20261114

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Related: #157302

What Problem This Solves

Hourly main CI bypasses its existing test-file limits because main validation now requests the complete inventory through PR-mode planning. In scheduled run 43519241305, one Gateway group ran 293 files and took 40 minutes before its remaining groups.

User Impact

Hosted main validation splits Gateway groups into at most 96 files and chat groups into at most 30, retaining every selected test and the existing 77-row non-build budget. This is an internal CI change. The current inventory uses all 77 non-build rows; further growth must still pass the existing cap. Actual completion-time and billing improvements remain unmeasured.

Why This Change Was Made

Apply the existing main-specific file envelopes when mainValidation is true, while retaining ordinary row packing. The existing storage limit, worker counts, runner routing, ordinary PR plans and full-release plans remain unchanged. Main validation cannot also adopt legacy dedicated-row isolation: that broader candidate exceeded the row cap and was excluded.

Evidence

Acceptance rule: retain the exact selected inventory, configs and worker limits; enforce the 30/96/64-file family bounds; keep the complete main plan within 77 non-build rows.

  • Native dependency-free planner proof at 4729152d6fa28d3c38ce6fc117bd829f5bca80ce: chat 116 files in 4 groups (maximum 30), Gateway 587 in 9 (maximum 96), storage 1,676 in 30 (maximum 64). All three inventories are complete and unique. There are 75 compact non-build rows plus 2 existing worker-proof rows.
  • Full main-plan before/after replay retains all 14,532 file/config/prerequisite/environment entries exactly; effective per-file worker limits and plan concurrency are also identical. Total compact rows change from 76 to 77, and complete non-build rows from 76 to 77 after adding the unchanged worker-proof rows.
  • Regression proof: the main-validation case fails on the original planner with expected 116 to be less than or equal to 30, then both legacy-push and main-validation cases pass with the fix (2/2; 9.43 seconds measured wall time). The production planner test checks exact inventories, configs, prerequisites, worker limits and the row reservation.
  • Independent source review found no actionable P0–P2 findings. Local ClawSweeper completed a full committed-range review of e6c7c5e0da4b2407e2d991a00c5d38b599e05050..4729152d6fa28d3c38ce6fc117bd829f5bca80ce at high reasoning priority with no findings. The execution gaps it identified are now covered by the checks below.
  • Native PR-workspace focused regression, tooling-test typecheck, targeted script/test lint, three-file formatting, one-file docs MDX validation, and git diff --check all pass.
  • Broad PR CI remains the final gate. Actual post-change main timing and billing effects are unmeasured; the next natural hourly run owns that observation.

@vincentkoc vincentkoc self-assigned this Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XS labels Nov 14, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 14, 2026 00:36
@vincentkoc
vincentkoc enabled auto-merge (squash) November 14, 2026 00:39
@vincentkoc
vincentkoc merged commit c6e9056 into main Nov 14, 2026
203 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-hosted-main-test-envelope-20261114 branch November 14, 2026 00:47
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant