Skip to content

fix(ci): keep hourly test plans within existing capacity - #201002

Merged
vincentkoc merged 1 commit into
mainfrom
steipete/perf-micro-hourly-node-plan-cap-20260919
Nov 18, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
steipete/perf-micro-hourly-node-plan-cap-20260919

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Hourly main CI fails before running its tests: run 44237410638 planned 78 compact Node rows against its 77-row allowance. Main push CI selects fewer tests and therefore stays green. Inventory growth in #200967 exposed the packing failure; #200980's installed-probe change was not the cause.

User Impact

Hourly CI can run its full selected inventory within the existing capacity policy. There is no product behavior change or operator action.

Why This Change Was Made

Apply the existing hosted file-count bounds while balancing weighted stripes, extending the storage owner's existing behavior to the other bounded groups. Splitting those stripes afterward fragmented placement when agent-support grew from 485 to 486 files. The fix removes the storage-only exception (net −2 production lines).

No runner, concurrency, worker, file-count, time, or matrix limit changes. The manifest still reserves two standalone worker rows from its 77-row nondist budget; the compact planner accounts separately for two dist rows. Simply enabling final whole-row packing for GitHub was insufficient because no complete pair fit the existing limits.

Evidence

The real scheduled manifest failed identically twice on main 819d09be7ce7ed230fd41a02cc307853fe2c9243 and succeeds with this change, emitting exactly 77 nondist rows. The largest predicted compact row stays 407s; summed compact predictions decrease from 17,757s to 17,597s. Bisection found the first failing commit bb28b72b14429557b4f87ab02453d76e2ec753bf (#200967); its parent fits.

The expanded scheduled-capacity test fails before the fix for both GitHub cases, including synthetic inventory growth, and passes afterward alongside hybrid. All 174 focused planner/hosted-bound tests pass (136.30s Vitest, 138.97s wrapper), including exact-once inventory and existing file/worker limits. The tooling-test typecheck passes.

Codex autoreview of the final local diff against 819d09be7ce7ed230fd41a02cc307853fe2c9243, P0–P2: scoped-clean, no accepted/actionable findings. Its review covered the supplied diff; local execution supplies the surrounding behavior proof.

Same-head full-inventory A/A and B/B owner measurements: sampled allocations 9.27/9.20 GB before versus 8.01/8.05 GB after. CPU 10.25/5.54s versus 5.38/5.26s; wall 18.37/8.39s versus 8.22/9.28s. The first baseline sample has substantial filesystem variation, so no wall-time speedup is claimed. No Team data was used.

pnpm check:changed passed all checks except unrelated main unused exports. Replaying the dead-export owner on untouched exact parent 819d09be7ce7ed230fd41a02cc307853fe2c9243 reproduced the identical 8 production and 8 full-tree entries (11 distinct symbols). Introducing changes: #200533 (prepareSessionEventDelivery, DurablePilotCustody, DurablePilotInput); #193550 (PluginHookBeforeModelRequestEvent, PluginHookBeforeModelRequestResult); #198455 (PluginMetricFamily, PluginMetricFamilyDeclaration, PluginMetricLabels, PluginMetrics); #200817 (formatDays, selectSegmented). These are main regressions requiring separate repair; no ignore, baseline adjustment, or passing-check claim is made for that scan.

Apply hosted file-count bounds during weighted balancing instead of slicing already-balanced stripes into stranded tails. Preserve the 77-row hourly nondist cap, runner and worker limits, time budgets, and complete selected inventory.

The scheduled manifest reproduced 78 > 77 after inventory growth in #200967. Expanded GitHub/hybrid regressions and all 174 focused planner tests pass; Codex autoreview is clean. check:changed passes except unrelated main unused exports attributed to #200533, #193550, #198455, and #200817.
@clawsweeper

clawsweeper Bot commented Nov 18, 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 18, 2026
@steipete
steipete marked this pull request as ready for review November 18, 2026 04:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T05:01:09.852133Z 82345fa Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vincentkoc
vincentkoc enabled auto-merge (squash) November 18, 2026 05:07
@vincentkoc
vincentkoc merged commit af50b8e into main Nov 18, 2026
173 of 176 checks passed
@vincentkoc
vincentkoc deleted the steipete/perf-micro-hourly-node-plan-cap-20260919 branch November 18, 2026 05:08
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…1002)

Apply hosted file-count bounds during weighted balancing instead of slicing already-balanced stripes into stranded tails. Preserve the 77-row hourly nondist cap, runner and worker limits, time budgets, and complete selected inventory.

The scheduled manifest reproduced 78 > 77 after inventory growth in openclaw#200967. Expanded GitHub/hybrid regressions and all 174 focused planner tests pass; Codex autoreview is clean. check:changed passes except unrelated main unused exports attributed to openclaw#200533, openclaw#193550, openclaw#198455, and openclaw#200817.
RomneyDa added a commit that referenced this pull request Nov 19, 2026
Apply hosted file-count bounds during weighted balancing instead of slicing already-balanced stripes into stranded tails. Preserve the 77-row hourly nondist cap, runner and worker limits, time budgets, and complete selected inventory.

The scheduled manifest reproduced 78 > 77 after inventory growth in #200967. Expanded GitHub/hybrid regressions and all 174 focused planner tests pass; Codex autoreview is clean. check:changed passes except unrelated main unused exports attributed to #200533, #193550, #198455, and #200817.

Backport to beta.2 preparation; exact reviewed adapted patch. Focused parent proof: 35 tests; nine-file type-aware lint; 18-file format. Tooling typecheck retains the same two pre-existing cron UI errors as baseline. No release qualification.

(cherry picked from commit af50b8e)
(cherry picked from commit c7ccc5e)
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
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.

2 participants