Skip to content

feat(ci): add opt-in smaller Testbox qualification profiles - #170747

Merged
vincentkoc merged 1 commit into
mainfrom
feat/testbox-smaller-profiles-20261013
Oct 13, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
feat/testbox-smaller-profiles-20261013

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Delegated Testbox proof currently defaults to a 16-class workflow even for small focused checks. Direct-provider class flags do not change its runner tier.

User Impact

Adds explicit opt-in focused 4-vCPU and routine 8-vCPU workflow candidates, sharing the existing 32-slot concurrency namespace and pinned hydration/lifetime contract. Default remains unchanged. Routine runtime ceiling 120m; focused 60m; both default 60m.

Why This Change Was Made

Small checks need an explicit smaller-machine path before either tier can be qualified and promoted. This is a staged rollout of opt-in workflows only: the default stays 16-class, all profiles share the existing 32-slot budget, and no automatic tier promotion is introduced. The failure-preservation fix landed independently in #170733.

Live hardware and representative workload qualification will run after these workflows are available on main, as required by the main-pinned Testbox route. Do not promote either tier to a default until actual CPU affinity, cgroup limits, peak memory, OOM events, hydration and payload time, and cleanup are verified. Hash-slot collisions remain an independent queue limitation.

Evidence

  • Profile patch is unchanged after rebasing onto the merged operational fix; earlier reviewed/profiled tree: 1f487a198a81df854714ef85c081a0ca0969fddc. Current-head qualification remains pending.
  • 44 admission tests pass; 6 targeted wrapper selection tests pass; workflow/action security validation passes. Independent P0–P2 review found no actionable defects.
  • 48 focused tests passed in the live payload: 3.69s command wall, 745 MiB peak RSS, zero swaps. This qualifies that workload on the actual 4-CPU machine only. 8/16-CPU comparisons were unavailable.
  • Local type-aware lint can exceed 4 GiB even for a narrow scope. These profiles do not prove arbitrary compiler/lint graphs fit.

Provider investigation (2026-10-13)

Blacksmith's native per-job VM telemetry independently corroborates 16,555,134,976 bytes (15.42 GiB) of physical memory from VM boot for the original controlled Testbox job. The telemetry VM identity matches GitHub's registered 16-tier runner and the native Testbox association. This rules out a payload-only memory limit or a different SSH target as the explanation for that memory discrepancy.

Two further 16-tier Testbox jobs report exactly the same physical memory: successful job and cancelled job. Neither reports OOM events. CPU count was directly measured only in the original controlled payload.

The native SKU catalog reports 16 CPUs and 60.8 GB of usable memory for this runner label; published specifications advertise 16 CPUs / 64 GB. Inspected organization settings expose no sizing override. Provisioning/runner registration reconciliation remains a provider-owned blocker. No new leases were allocated during this investigation, and the default remains unchanged.

@vincentkoc vincentkoc self-assigned this Oct 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M labels Oct 13, 2026
Base automatically changed from fix/proof-routing-budgets-20261013 to main October 13, 2026 06:55
@vincentkoc
vincentkoc force-pushed the feat/testbox-smaller-profiles-20261013 branch from cb1489b to c079025 Compare October 13, 2026 06:57
@vincentkoc
vincentkoc marked this pull request as ready for review October 13, 2026 07:46
@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@vincentkoc
vincentkoc enabled auto-merge (squash) October 13, 2026 07:51
@vincentkoc
vincentkoc merged commit a959e70 into main Oct 13, 2026
193 checks passed
@vincentkoc
vincentkoc deleted the feat/testbox-smaller-profiles-20261013 branch October 13, 2026 07:56
@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 Oct 14, 2026
RomneyDa added a commit that referenced this pull request Oct 20, 2026
#178170 backported ci-android-focused-testbox.yml, which admits with
TESTBOX_PROFILE=check-focused, but not the profile from #170747, so
ci-testbox-budget.mjs rejected every Android focused Testbox admission
("requires a known profile"). Add main's check-focused policy (4 vCPU,
60-minute default and ceiling). check-routine stays out because its
workflow is not on this branch.

Partial backport of a959e70 (#170747).
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: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant