Repository navigation
ci: pack test jobs and add opt-in Spot cron routing - #155403
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 22, 2026, 4:02 PM ET / 20:02 UTC (Revision 12). ClawSweeper reviewWhat this changesThe PR packs measured CI workloads, separates slow test groups, improves timing collection, and adds opt-in AWS Spot qualification while retaining existing worker and job limits. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 4 items remain The PR retains useful, demonstrated CI improvements that current main does not provide. The previously reported GitHub-only routing defect remains unresolved, and the documented whole-workflow acceptance criteria remain unmet. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw's CI planner turns changed files and timing measurements into test jobs. The workflow assigns those jobs to GitHub, Blacksmith, or optional RunsOn runners and aggregates their results into the required CI gate. flowchart TD
A[Changed files and timing measurements] --> B[Test planner]
C[Backend setting and dispatch request] --> D[Qualification and routing]
B --> E[Bounded test jobs]
D --> E
E --> F[GitHub or Blacksmith runners]
E --> G[Optional Spot cron runner]
F --> H[Required CI gate]
G --> H
Decision needed
Why: The measurements establish useful behavior but fail the committed acceptance criteria; changing that acceptance scope requires the CI owner's intent. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +2387, Docs +244, Config +143, Other +528. Total +3302 across 25 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve the GitHub-only circuit breaker, retain measured packing gains, and explicitly separate experimental Spot routing from any accepted whole-workflow performance guarantee. Do we have a high-confidence way to reproduce the issue? Yes, from source: an admitted first-attempt qualification with configured github and requested hybrid or runson overwrites the outage setting and reaches paid runner placement; no workflow was executed during this review. Is this the best way to solve the issue? Not yet: the existing planner is the appropriate owner, but qualification must preserve the operational override and its documented acceptance must match the demonstrated scope. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f0d26603a5c1. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (11 earlier review cycles; latest 8 shown)
|
b5c3dc8 to
da6e2bc
Compare
da6e2bc to
84733d1
Compare
84733d1 to
a14f00e
Compare
a14f00e to
eac7f39
Compare
eac7f39 to
e56ca80
Compare
* commit 'ba4bc10ee5283f37813593da158cd3146f4cf2bf': (53 commits) fix(tests): drain persistence deliveries before fixture cleanup (openclaw#155934) fix(tests): drain Gateway abort deliveries before teardown (openclaw#155913) fix(test): give the bundled MCP tarball checks time on Windows runners (openclaw#155931) improve: explain where session catalog requests spend time (openclaw#155786) fix(test): recognize deletion cancellation in SQLite lifecycle proof test(gateway): join request lifetimes before fixture teardown test(codex): assert late-abort interrupt identity (openclaw#154853) fix(cron): avoid blocking Gateway during retention discovery (openclaw#155414) fix(tests): drain subagent deliveries before teardown (openclaw#155910) fix(ci): recover Security Review when diff data settles slowly (openclaw#155921) fix(ci): recover Security Review after checkout failures (openclaw#155919) fix(infra): retain SQLite reader modules in PR wrapper inventory ci: pack test jobs and add opt-in Spot cron routing (openclaw#155403) fix(gateway): retain approval authority across storage waits (openclaw#150237) test(media): isolate base64 memory accounting per VM (openclaw#155638) fix(gateway): keep concurrent session descriptions responsive (openclaw#155471) fix(test): await Talk storage cleanup before removing fixtures fix(tests): settle subagent steer work before teardown (openclaw#155888) test(ci): respect retained command worker caps (openclaw#155735) test(ui): synchronize release fixtures with owned lifetimes ...
* ci: reduce extension fanout and preserve fast artifact builds * ci: add opt-in RunsOn spot routing * test: repair CI qualification fixtures and record Spot measurements * ci: pack measured Node jobs and qualify main routing * ci: price compact packing from complete tooling measurements * docs: refresh CI counts after runtime tier integration * fix(ci): keep the type-shard size default internal
What Problem This Solves
Final PR CI is green in 17m00s; the earlier main-shaped RunsOn qualification is green in 19m23s. Neither meets the 15-minute wall. The final PR also misses the class-wait criterion: Windows median assignment was 84s. This PR keeps measured extension/tooling packing, splits the measured CLI/tooling pairs, uses the existing capacity estimator, and adds an opt-in RunsOn Spot profile. Spot execution is proven; interruption-safe operation within fifteen minutes remains unqualified.
User Impact
Internal CI only. All selected files, child process boundaries, worker ceilings and test deadlines stay intact. Caps remain 70 push /130 PR /90 compact. The repository backend remains hybrid; no repository variables, rulesets, stacks or pools changed. Auto-merge is off.
Latest clean PR measurement: d784bdd
Run 35774114280 passed on its first attempt: 152 successful allocated jobs and 11 skipped placeholders. API head is
d784bdd62885e9a2217142d6d0650f12d1401c80; actual checkout/workflow was merge503c3d951aeda7860d39d70ce84fad395244145f, whose parents are newer main78d5bedb34de17f9fadc49b0c643267f3b8015fcand that PR head. The checkout tree differs from the head tree; its workflow bytes are identical. This is the automatic PR merge proof for that exact head, not a direct-head dispatch. Preflight confirmed hybrid broad fallback. It emitted 99 Node rows: 58 compact + 41 extension bundles. The earlier e56 main/PR pair remains historical; its counts and main measurement are not relabeled as this newer source.Green, but the 15-minute and class-wait targets still fail. Creation→gate/last-job was 16m59s (1019s); terminal API elapsed was 17m00s (1020s), 16s below the 17m16s historical PR baseline. All Linux Blacksmith medians were 9–10s; Windows was 84s, above 60s. Caps remain unchanged.
The same previously cited reference rates apply; costs exclude storage/ancillary charges. Versus the 17m16s PR baseline, this is +69.167 Blacksmith minutes /+$2.9997. Versus the older failed e56 PR measurement, it is −152.800 minutes / −$4.8480 and −4m58s. Upstream source, test inventory and outcomes changed, so those overall deltas do not isolate packing savings. Original main 21m18s remains a different shape; the paired e56 main-shaped run was 19m23s.
The longest chain is preflight→compact-small-17→ci-gate = 1019s: 1s workflow admission +2s preflight assignment +96s preflight +1s fanout +10s assignment +903s job +1s gate creation +2s assignment +3s gate. Other candidate chains are large-2 889s and small-38 872s; their gate synchronization behind small-17 is not added again.
core-tooling-15-hosted-147 files 414.790s;core-tooling-16-hosted-236 files 285.093s.All jobs above 600s are listed below. For the remaining rows, step receipts prove test/check execution dominates; child-level attribution was fetched only for the three longest jobs. Numbered bins from earlier heads are not reused as evidence of current child membership.
No cap increase is indicated by 99/130 Node rows. Existing child boundaries offer measured next candidates: small-17 storage 407.6s versus the other children 455.1s; large-2 Gateway 454.4s versus config 220.2s; small-38 tooling 414.8s versus 285.1s. Each separation costs one row, giving 102/130 PR rows. With 60s setup, and conservatively 60s runtime build on each large-2 split, these quote 468/515s, 574/340s, and 475/346s respectively. They are follow-up placement arithmetic, not implemented or newly qualified results; other 600s tails and Windows wait remain. The PR remains unmerged with auto-merge disabled.
Why This Change Was Made
The implementation calibration and paired main/PR measurements below are bound to
e56ca801de911192f3125c622fe235ae319929a0and its stated base. The latest-head result above supersedes their PR status and counts; historical numbered bins do not identify current membership.The existing estimator from #155277 remains the pricing owner. Hybrid's post-placement pass consumes committed Blacksmith file measurements, preserves any higher existing job price and compatible complete native child wall, then adds 60 seconds once per job. Packing requires complete file measurements or a compatible complete child receipt; unknown files cannot earn spare packing capacity from fallback weights. The complete packed-job bound is 720 seconds, without changing test deadlines.
The timing collector now accepts a complete singleton
Durationonly when one declared tooling file, one unambiguous passing summary, one duration, matching reporter identity and successful exit all agree. Native per-file summaries still win. Six singleton prices were refitted from successful jobs/children in three failed workflows; seven narrowly scoped native Testbox file prices were added/refitted. Existing unrelated timings remain intact. This corrects both overpricing concurrent case sums and underpricing missing files.The historical nine-job cohort becomes four, quoted at 629/539/662/672 seconds with canonical prices and setup. On the current inventory, seven eligible jobs become three. Original serial tooling pairs over 600 seconds split before packing; complete native child receipts identify existing tails when available, while packing retains higher canonical prices. Freshly split critical rows cannot be packed back together. Runtime preparation stays with its requiring child.
Main also includes the separately owned runtime release tier from #155606; its savings are not attributed to R3. Its retained 192-case proof ran on Linux Testbox 35711760438. These are planner counts on base
0a5b5381a26b8480021005dc0145524ba6181cdbplus this patch, not total workflow jobs. Compact includes dist descriptors; PR Node includes 40 extension bundles. Main adds one CLI split. PR adds that split and one tooling split, then removes four tooling jobs. Extension packing retains 119 child envelopes in 40 jobs instead of 47 on the controlled inventory. At 45–60 seconds/setup, Node packing minus its two splits saves 1.5–2 machine-minutes and extension packing saves 5.25–7: 6.75–9BS8minutes /$0.108–0.144 per broad PR, before runtime interaction. Main's one split adds 0.75–1 BS8 minute /$0.012–0.016. Native workflow totals below determine actual change.The earlier 842→496-second CLI expectation is superseded by compatible slower samples:
agentic-cli-process-hosted-6and-7now quote 558/703 seconds after splitting. The latter's successful child reached 642.109s before setup. The longest packed current PR job quotes 617s. No extra worker or class speedup is assumed: these process children retain two workers; the separate CLI family already uses its measured eight-worker path. The model needs no cap increase, but these forecasts do not establish a fifteen-minute workflow.Evidence
Measured candidate:
e56ca801de911192f3125c622fe235ae319929a0, rebased onto0a5b5381a26b8480021005dc0145524ba6181cdb. Independent P2 autoreview: scoped-clean, zero accepted findings.Planner, timing, changed-plan and project-routing proof: 2,141 passed in 527.16s, one local worker. The three workflow guard files produced 670 passes and 12 existing skips, plus nine prefetched-checkout readiness failures in main's unchanged fixture from #155564. The fixture had readiness files present but could miss its filesystem notification. This PR replaces notifications for owned Node actors with IPC wakeups after atomic publication, preserving the actual file predicate, process lifetime and watchdog. All nine previously failing cases plus four owner-exit/cancellation cases then passed in 60.12s. No assertions, retries, deadlines or worker limits changed. Other workflow guard proof is retained.
node scripts/check-changed.mjspassed its type, dependency, export, formatting and script-lint gates; its one new-test braces error was corrected and the canonical changed root-test lint scope passed. Workflow security/sanity, docs MDX/glossary, all 14,332 internal links andgit diff --checkpassed. New measurement and packing guards exercise the existing planner boundary; no suite/benchmark ran on the Mac. Native calibration ran on Linux Testbox; final performance proof runs in GitHub Actions.After resolving the release-tier overlap, 78 targeted admission, coverage, packing and startup-corpus tests passed in 95.78s. Both affected typechecks, workflow sanity and a fresh complete-candidate P2 review passed against the rebased tree. The superseded head had no CI run because GitHub reported a merge conflict.
Historical e56 broad PR qualification
Run 35739964010, first attempt, executed the tree of
e56ca801de911192f3125c622fe235ae319929a0. Checkout was merge0127a5f9276a068d1b4c66010383a3f9186f004c, whose tree equals that head and whose parents are base0a5b5381a26b8480021005dc0145524ba6181cdband the published head. Preflight explicitly selected broad fallback for a tooling-owner change and hybrid routing. All 97 expected Node rows appeared: 57 compact Node jobs plus 40 extension bundles. The compact planner has 59 descriptors including two dist descriptors. Caps remain 130 PR Node /90 compact /70 main Node.This qualification failed the performance and correctness criteria. Run creation→gate completion was 21m57s (1317s); creation→last job was also 1317s; the terminal API updated elapsed was 21m58s (1318s). All Linux Blacksmith class median eligible assignment times were 9–10s, but Windows was 64s, over the 60s criterion. Two test jobs failed; the gate correctly failed. No run was retried.
These counts exclude skipped, unallocated placeholders; all allocated successes and failures count toward minutes. Costs use the same reference per-minute rates throughout: BS8 $0.016, BS16 $0.032, BS32 $0.064 and Windows16 $0.064. Hosted standard Ubuntu and macOS15 runner charges are $0 for this public repository. The macOS receipts show ordinary GitHub Actions runners (group0),
macos-15appears in the standard hosted runner table, and public standard runners are free; this excludes storage and other ancillary charges. The supplied $18–20 main estimate remains distinct from the $13.8371 recomputation from saved job receipts; neither is an invoice. The current PR used 221.967 more Blacksmith minutes and $7.8477 more reference compute than the 17m16s failed PR baseline. Inventory and test-runtime changes mean this is an overall-run comparison, not a controlled attribution of that increase to packing. Main baseline wall was 21m18s.Packing and split outcomes
agentic-cli-process-hosted-6and-7small-30/small-30-tail)core-tooling-7-hosted-2andcore-tooling-11-hosted-2small-32/small-32-tail)core-tooling-1,-2,-6-hosted-1small-20)core-tooling-5,-3small-24)core-tooling-7-hosted-1,-4small-26)The current inventory packs seven jobs→three, while the immutable historical nine-job calibration cohort packs nine→four, with honest canonical forecasts 629/539/662/672s. These are different inventories, not interchangeable counts. The three current packed jobs consumed19.10 Blacksmith minutes/$0.3056; their seven complete native child envelopes summed1020.394s, with125.606s total remaining job overhead. All three passed. Four removed setups save a modeled3–4 minutes; two tail splits add1.5–2 minutes, leaving1.5–2 modeled BS8 minutes/$0.024–$0.032 net. Adding the separately controlled extension47→40 packing removes nine setups net on the broad PR:6.75–9 BS8 minutes/$0.108–$0.144, before runtime interactions. The extension run executed40 bundles;39 passed and one failed. They consumed244.483 BS8 minutes.
Exact same-head planner rows before→after the R3 Node post-pass are hybrid main42→43 and PR99→97; compact descriptors43→44 and61→59. RunsOn adds one cron row: main44 and PR98, compact45 and60. Existing70/130/90 caps have room. Runtime release-tier coverage inherited from the current base is not counted as an R3 saving.
Critical path and longest three jobs
The longest path was preflight → compact-large-2 → ci-gate =1317s:1s workflow admission +4s preflight assignment +109s preflight +3s fanout creation +11s assignment +1184s job +3s gate assignment +2s gate. This is a test/build tail, not a Blacksmith Linux queue delay.
compact-large-2compact-small-32compact-small-11large-2executesagentic-gateway-server-isolated-hosted-1(743.038s complete child: isolated-config223.56s then database-worker-config514.67s) followed serially byagentic-control-plane-runtime-config(295.402s). It also builds the runtime for102s. The BS8 runner reports2 logical CPUs/8GB; the isolated group requests8workers, so a larger worker request alone cannot add available CPUs. No class change is claimed proven. The isolated family is owned separately.small-32is a singlecore-tooling-7-hosted-2child,83 files, two workers,972.111s complete child /966.69s Vitest invocation. It was not newly merged by the packer. Its forecast576.5s underestimated this current contract. The largest reporter case-duration sums werepackage-acceptance-workflow.test.ts409.73s,pr-merge-recovery.test.ts365.67s andpr-worktree-provision.test.ts211.14s; those overlapping sums are evidence of where work occurs, not complete per-file walls.small-11serially runs storage-state hosted-11 (425.751s), runtime-server hosted-2 (265.073s), reply-agent-runner (129.357s) and network-platform (18.180s). The BS32 runner reports8 logical CPUs/32GB. Its840s test step is accumulation across those children.Every observed job above600s
The seven→three packing and CLI split are measured wins, but they do not establish a≤15-minute workflow. Existing serial aggregation and the individual Gateway/tooling children still dominate. No cap change is required merely to create room; the current observations need owner-level splitting or separately measured class/worker changes before claiming that SLA.
Remaining tail arithmetic and cap headroom
The CLI split already used one extra row and meets600s in this PR. Splitting the remaining Gateway parent into its two existing children costs one row but leaves the743s isolated child above600s before setup/runtime build. Both the isolated and runtime-config groups require
pretestBuildMode: runtime. Splitting only the two existing Gateway config invocations and the config-patch child costs +2 PR rows, but the quotes are approximately386/677/458s with60s setup and102s runtime preparation each: the database-worker invocation still exceeds600s. A next candidate is two balanced owner-defined file partitions across the743s child plus the separate295s config child (three jobs instead of one, +2 PR rows); actual file balance and duplicated runtime-build costs still require measurements. Keeping the existing config boundary while further splitting the515s database-worker config would instead use four rows (+3 PR rows). A class promotion would cost zero rows, but this run has no same-contract faster-class measurement. The isolated group already asks for8workers; its memory-aware fallback on the2CPU/8GB allocation admits2, so merely increasing that number is not a measured remedy.The972s tooling child cannot be improved by splitting its parent again. It needs owner-defined file repartitioning: at least two jobs, +1 PR row, and measured per-file walls to establish the≤600s placement. The third tail can be separated at its existing child boundary into storage425.8s and the other children412.6s, +1 PR row; adding60s setup quotes485.8/472.6s before runtime interactions. Thus the balanced-file candidate for these three tails fits 101/130 PR rows and63/90 compact descriptors (RunsOn102/130 and64/90); retaining config boundaries while adding a database-file split fits 102/130 and64/90 (RunsOn103/130 and65/90). Neither requires a cap change. This is headroom arithmetic, not a proven new sharding plan or proof that all remaining600s tails are solved. Main's inventory differs and must use its own native qualification. No cap increase is justified by the observed limits.
Measured candidate main-shaped qualification
Run 35769239223, first attempt, passed with102 successful allocated jobs and9 skipped placeholders. Checkout and workflow both executed
e56ca801de911192f3125c622fe235ae319929a0. The admitted dispatch selectedci_shape=main, the RunsOn Node backend and hybrid check routing; it contained no cron comparison controls. Its44 allocated Node jobs exactly match the same-head RunsOn main model:43compact Node jobs plus1Spot cron job, no extension bundles. The planner has45descriptors for the compact cap:43compact Node rows,1Spot cron row and1dist descriptor. All70/130/90caps remain unchanged.The run is green but misses the performance target: creation→gate and creation→last job were 19m22s (1162s); terminal API updated elapsed was 19m23s (1163s). All Blacksmith class median eligible assignment times meet60s, including Windows49s. Compared with the original21m18s main baseline, API elapsed improved1m55s. The original had320s before preflight creation; this qualification had4s. Excluding that admission interval, gate elapsed increased from958s to1158s. The overall wall improvement therefore does not establish that test execution got faster.
The final main-shaped reference compute subtotal including observed Spot is $27.226312, with unverified AWS teardown/storage/other charges excluded. This is311.333more Blacksmith minutes and$13.3133more Blacksmith reference compute than the baseline; the run inventories differ substantially, so this is not a controlled estimate of the routing change's cost. The separate same-head cron comparison identifies the actual work moved to Spot. Standard public GitHub-hosted Ubuntu and macOS runner charges are zero under the cited GitHub policy; larger/custom runners are not assumed free.
Main critical path and longest jobs
The longest path was preflight → checks-ui-e2e-real-gateway → ci-gate =1162s:4s workflow admission +3s preflight assignment +110s preflight +1s job creation +5s assignment +1032s UI job +3s gate assignment +4s gate. The next candidate chains were Docker seed1161s and compact-small-10 1088s. Standalone job order differs slightly: the three longest jobs were UI1032s, Docker1025s and compact-large-2 957s (small-10 was952s).
checks-ui-e2e-real-gatewaydocker-seed-e2echecks-node-compact-large-2The main Gateway contract is not the PR's16-file contract: main additionally includes
server.codex-failure-recovery.test.ts, and the other parent children differ. The main result cannot be substituted for the PR743s isolated-child measurement. Main's two original CLI children passed in 418s /399s (compact-small-22/-tail), both below600s; the PR counterparts passed328s /378s.Every main job above600s
Main cap implications
The measured main bottlenecks UI and Docker are outside the Node matrix, so increasing Node caps cannot fix this wall. Their owners need measured build/suite/lane work; no new split, worker count or class is claimed proven here.
For Node arithmetic only, separating main large-2 at its two existing Gateway config boundaries plus its six remaining children would use three rows instead of one (+2). Their observed envelopes with60s setup and the92s runtime build conservatively charged to each are approximately425s /461s /340s, before changed scheduling interactions. Main small-10 can separate storage376.8s from outbound+agent-chat518.3s (+1), quoting437s /578s with60s setup. These proposals would fit 47/70 RunsOn main rows and48/90compact descriptors, or46/70 and47/90 on hybrid. They do not solve the other600s tails or qualify a15-minute wall. Main does not contain the PR-only tooling972s child, so no tooling row is added to this calculation. No cap increase is justified.
RunsOn Spot measurement on candidate e56ca80
checks-node-runson-cronpassed in 391s,18:47:20–18:53:51Z. Runner metadata and IMDS both verified Spot /c8i.8xlarge /us-east-1,32 logical CPUs and approximately64GiB, with effective two-worker execution. Launch was18:46:58Z, giving 413s launch→job completion. The AWS public regional Linux Spot reference fetched18:49:44Z was $0.6617/hour (HTTP Date18:48:00Z), so the reference compute lower bound is $0.075912. Selected-AZ billing, termination time, teardown, storage and other ancillary charges are unverified; this is not an invoice.The three exact encoded cron contracts match the same-head broad PR:259 files in total, with the same ordered selectors/config/environment and effective two workers. Both execute Node/Vitest. The PR parent's
bun-compatiblepolicy routes other children to Bun, but these cron children remain Node in the observed log.These are 6.2269 measured Blacksmith32 child minutes transferred to Spot per equivalent inventory, with a$0.398519 Blacksmith reference cost of those child envelopes. Spot's combined child time was6.6%faster. The source Blacksmith jobs retain their other children, so subtracting their complete job walls would overstate the saving. The apparent$0.322607 difference between that child-time charge and the Spot launch→completion lower bound excludes changed residual wrappers/overhead and unverified AWS teardown. No simultaneous same-profile Blacksmith main control was dispatched. The historical393.71s control belongs to its older inventory and remains separate.
Labels request
spot=true/retry=false,family=c8i.8xlarge/cpu=32/ram=64/image=ubuntu24-full-x64/volume=80gb. RunsOn's no-capacity on-demand fallback remains supported; this job actually received Spot. No interruption or retry occurred. Automatic interruption retry remains disabled because v3.3 waits for workflow completion before replaying failed/dependent jobs, which cannot preserve the current900s wall. This proves dispatch/allocation/execution on Spot, not interruption-safe fifteen-minute qualification.Historical failures, diagnostic replay, and current head
The two qualifications above are bound to e56ca80. At19:03:25Z, the maintainer merged main into this branch through GitHub, creating integration head 98ff4fd (other parent
4a93b5e5c8ea7179f8e31ac8e1c22f7081110690). That update is preserved. The measured wall/cost tables and P2 review are not relabeled as proof of the newer tree. Its automatic PR CI run35771290029 completed in 15m02s, with all test jobs passing andcheck-dependenciesplus the aggregate gate failing. The sole dependency finding was the unused internal exportTSGO_CORE_TEST_MAX_ROOTS. The limit remains720; making the constant private changes no value, runner, inventory, assertion or deadline. The exactpnpm deadcode:fullcommand passed both scans,25 type-shard guard tests passed in33.91s, and the bounded repair received a clean P2 review.Current PR head is d784bdd, preserving that maintainer merge plus the dependency-check repair. Its first-attempt automatic PR CI passed in 17m00s, as detailed in the latest clean PR section above. The actual checkout was merge
503c3d951aeda7860d39d70ce84fad395244145f, incorporating newer main; its tree differs from the PR head. This was a new code revision, not a rerun of either completed qualification. No second main-shaped dispatch was run; the 19m23s main result remains bound to e56.The older PR's extension bundle23 failed
manager-candidate-repair.test.tsat its default1,000ms wait. Its original20-file child ran first with two workers; the following provider child never started. One diagnostic Linux replay reproduced the same failure:19files/227cases passed,1file/1case failed,297.345s. On Blacksmith Testbox35769907137, exact e56 source ran on two CPUs/~8GB, Node24.19.0 and two workers. The first retrieval request found no worker; the assertion expired at1,004ms; the worker became ready at1,158ms and responses arrived at1,174/1,205ms, with no active repair batch. The warm case returned in10/9ms while repair stayed gated. Instrumentation affects timing and does not establish the original CI's missing timestamps; this is evidence of cold-worker initialization exceeding the wait, not a green fix. The lease is stopped. The interrupted earlier lease had no recoverable completed replay and is also closed.The integration and current heads include the owning repair from #155745 /5c9d100c72a: the test synchronizes on retrieval-worker progress and retains the completion-before-repair assertion. R3 did not relax that assertion or increase a timeout.
The older
compact-small-36failure was a separate type-check partition guard: gateway-server had701 roots against700 after main#155694 added a test. The integration and current heads include the owning rebalance from #155734 /50ea1795fc8, moving worker-environment type roots to an existing partition without raising limits or adding Node CI rows. The old failures and replay remain recorded; the final head's automatic PR run passed. The separately inherited main policy now makes the type-size threshold advisory; that policy change is not an R3 change.Cost of changed test coverage
Local one-worker planner/timing/changed-plan/project-routing proof passed2,141tests in527.16s; the workflow guard proof and scoped readiness repair are described above. The new cases protect coverage preservation, exact-source admission, pricing floors and ambiguous-measurement rejection. The large existing planner/workflow files execute real routing inventories and emitted shell contracts, so containing-file cost cannot be attributed solely to the added cases.
Native per-file walls are not present for the changed planner/guard files in the already-cached logs. Their emitted contracts and terminal containing-job costs are available below; these include other tests and must not be presented as per-file timings. The cached tooling reporter emits case durations; its38.603s sum for
plugin-prerelease-test-plan.test.tsis not a file wall.ci-changed-node-test-plan.test.tsci-node-test-plan.test.ts,ci-test-timings.test.ts,test-projects.test.tsci-workflow-guards.test.tsci-workflow-planning.test.tsci-test-timings-tooling.test.tsplugin-prerelease-test-plan.test.tsSpot placement and interruption policy
The RunsOn profile derives from hybrid and extracts the three cron parallel children into one serial job with their existing two-worker caps. The normal PR uses hybrid. The exact-head
ci_shape=main,runner_backend=runsondispatch includes the Spot job, main coverage and 70-row cap, omits PR extension append and comparison controls, and retains hosted preflight until maintainer admission.Labels request
runs-on=${{ github.run_id }}-${{ matrix.check_name }}/family=c8i.8xlarge/cpu=32/ram=64/spot=true/retry=false/image=ubuntu24-full-x64/volume=80gb. Spot's native no-capacity fallback uses on-demand. This family has no instance-store NVMe; no storage, pool or image changes were made.The earlier same-inventory comparison passed cron at 396s Spot /432s BS32 /672s hosted, two workers each. Spot was observed, with no interruption. Its 417s launch→completion costs $0.076286 at the September 22 regional reference $0.6586/hour; teardown, storage, networking and control-plane charges remain additional. The selected-AZ invoice rate is unverified. Cron removed 393.71 child-seconds = 6.56 BS32 minutes of work from source jobs in that control, not a whole 7.2-minute job or guaranteed net savings.
Interruption-safe fifteen-minute operation remains unqualified.
retry=when-interruptedon v3.3 waits for the workflow attempt to finish and can rerun failed jobs/dependents twice. The measured 396-second cron replay cannot fit the 180 seconds remaining after a 720-second attempt. Thereforeretry=falseis explicit; an interruption can fail qualification. No-capacity fallback is not interruption-recovery proof, and no interruption is claimed without an observed receipt.Enablement checklist: use the installed GitHub App and exact-head admission; inspect the
runs-onCloudFormation stack and fleet in us-east-1 when an authorized Foundation SSO/role session is available; do not perform interactive SSO from this workflow. A prior session check was expired, but label dispatch works without AWS credentials. Before production selection, measure selected-AZ Spot/fallback lifecycle cost and a recovery policy fitting the original 900 seconds. Any pool, stack or budget change needs an explicit recorded operational decision. Production Team hosts and Foundation Crabbox instances remain untouched.Native calibration
Blacksmith Testbox 35722202780, source
2fd7485b450e12ef5574645d7b648d61ee5ce8a2, ran all eight selected tooling children successfully, serially with two CPUs/two workers. Child walls were 54.406,405.766,327.673,637.106,140.024,350.159,148.109,101.797 seconds; runtime preparation was 119.271 seconds. The lease lifecycle workflow was cancelled on cleanup—this is successful child calibration, not a green workflow qualification. Initial dependency preparation failed before any Vitest child began; frozen dependency installation preceded the single actual execution. The 637-second child included recovery/provision cases totaling 336/252 seconds; those case sums are not full file walls.Measured provider tier table
Use GitHub-hosted runners for independent checks that fit the workflow's remaining time. Retain Blacksmith where the measured job tail threatens completion. Qualify RunsOn by workload before assigning it a production tier. Requested Blacksmith 8/16/32 labels delivered 2/4/8 CPUs in the capacity probe; labels are not worker counts.
The table compares eleven successful B1/R1 main runs with five later successful main runs:
35679872894,35679457587,35678156129,35677164460, and35675497006. These are longitudinal observations with different source revisions, not controlled provider comparisons. Values are median [maximum] complete job seconds; a dash means unmeasured. Existing trust, retry, and hosted assignment admission still apply.preflightsecurity-fastbuild-artifactscheck-lintcheck-lint-core-1/-2check-prod-typescheck-test-typescheck-test-types-core-1/-2check-dependenciescheck-additional-extension-package-boundarycheck-additional-runtime-topology-architecturecheck-additional-boundariescheck-bundled-channel-config-metadatacheck-guards/check-npm-lockcheck-prompt-snapshots/check-source-contractscontrol-ui-performanceopenclaw/ci-gateIndependent hosted checks reached at most 664 seconds in this sample. Artifact builds reached 898 seconds before the shared preflight and gate; they retain Blacksmith. Only the gate depends on
build-artifacts: the workflow does not contain a serial build-to-test job dependency.Numbered compact bins change when membership changes. A matching suffix does not establish a matching workload. Full manual native qualification, including iOS and Android, is not proven within fifteen minutes by these Linux measurements.