Skip to content

fix(ci): retry hosted main planning with Gateway-first ordering - #201889

Merged
vincentkoc merged 2 commits into
mainfrom
fix-hosted-main-planner-capacity-20261119
Nov 19, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix-hosted-main-planner-capacity-20261119

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Scheduled CI stopped before dispatching tests because the hosted Node planner produced 78 rows against its 77-row limit.

User Impact

Restores scheduled CI planning without changing the test inventory, row limit, admission budgets, or worker policy. No user-facing runtime behavior changes.

Why This Change Was Made

When the initial hosted main plan exceeds capacity, rebuild it using the existing Gateway-first ordering already used by hybrid planning. The same admission checks still decide which groups may share a row. Plans that already fit keep their existing ordering.

Evidence

  • Original hosted failure: https://github.com/openclaw/openclaw/actions/runs/44543663893/job/135628353516 — 78 planned rows exceed the 77-row limit before tests start.
  • Reproduced the exact failure on frozen 41bdde2111dd7031c93b47c57d7dad2e56bb0f5f using the existing hosted-main inventory case. The final candidate passes that case: 78 rows become 77, with the same 274 group descriptors and 14,669 file-selection entries. The 75 non-dist rows plus two existing worker rows fit the 77-row main cap.
  • All four owning planner test files pass: 199 tests across the unit-fast and tooling runners. Targeted tooling typecheck, typed lint, and formatting pass.
  • Final committed-range local ClawSweeper review (41bdde2111dd..82040d426265): no correctness or security findings, confidence 0.88. Its read-only runtime limitation is covered by the execution evidence above.

Local proof used macOS arm64, Node 24.22.1, and the repository-selected pinned Bun. It exercises the actual planner and inventory; it does not replace the full Linux CI execution.

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

clawsweeper Bot commented Nov 19, 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 scripts Repository scripts size: XS labels Nov 19, 2026
@vincentkoc vincentkoc changed the title fix(ci): fit hosted main plans within existing capacity fix(ci): retry hosted main planning with Gateway-first ordering Nov 19, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 19, 2026 14:48
@vincentkoc
vincentkoc enabled auto-merge (squash) November 19, 2026 14:53
@vincentkoc
vincentkoc merged commit edf77d9 into main Nov 19, 2026
179 of 181 checks passed
@vincentkoc
vincentkoc deleted the fix-hosted-main-planner-capacity-20261119 branch November 19, 2026 14:58
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 20, 2026
…claw#201889)

* fix(ci): fit hosted main plans within existing capacity

* fix(ci): reuse source ordering before hosted capacity refusal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant