Skip to content

ci: pack test jobs and add opt-in Spot cron routing - #155403

Merged
steipete merged 8 commits into
mainfrom
ci-burden/r3-three-tier-routing
Sep 22, 2026
Merged

steipete merged 8 commits into
mainfrom
ci-burden/r3-three-tier-routing

Conversation

@steipete

@steipete steipete commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

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 merge 503c3d951aeda7860d39d70ce84fad395244145f, whose parents are newer main 78d5bedb34de17f9fadc49b0c643267f3b8015fc and 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.

Class Jobs Runner minutes Reference compute Median eligible assignment
Blacksmith 8 Linux 66 349.733 $5.5957 9s
Blacksmith 16 Linux 16 101.183 $3.2379 9s
Blacksmith 32 Linux 33 262.383 $16.7925 10s
Blacksmith 16 Windows 5 27.867 $1.7835 84s
Standard hosted Ubuntu 24.04 29 113.017 $0 3s
Standard hosted macOS 15 3 13.933 $0 10s
RunsOn 0 0 — —
Blacksmith subtotal 120 741.167 $27.4096 —

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.

Three longest jobs Wall Test step Other work Verified child contract
compact-small-17 903s 864s 39s setup/cleanup Serial storage-state hosted-14 407.562s +HTTP-plugin-WS 136.418 +onboarding 60.413 +reply-core 77.112 +doctor-plugins 44.065 +spawn-boundary 65.167 +reply-session 30.977 +doctor-auth 40.938. Eight actual CPUs /32 GiB.
compact-large-2 773s 676s 60s runtime build +37s other Isolated Gateway hosted-1, 16 files, 454.378s, then runtime-config 220.218s. Two actual CPUs /8 GiB.
compact-small-38 756s 701s 55s other Two serial tooling children: core-tooling-15-hosted-1 47 files 414.790s; core-tooling-16-hosted-2 36 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.

Job Wall Test/check step
compact-small-17 903s 864s
compact-large-2 773s 676s
compact-small-38 756s 701s
compact-small-13 731s 680s
compact-small-10 720s 672s
compact-small-11 697s 662s
compact-small-37 684s 645s
compact-small-8 680s 645s
compact-small-32 652s 597s
compact-small-9 635s 598s
extension-bundle-33 618s 580s
check-lint 611s 579s
compact-small-16 601s 569s

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 e56ca801de911192f3125c622fe235ae319929a0 and 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 Duration only 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.

Profile and shape Before Node /compact Final Node /compact Final Node classes Caps Node /compact
Hybrid main 42 /43 43 /44 BS8: 13; BS32: 30 70 /90
Hybrid broad PR 99 /61 97 /59 BS8: 65; BS32: 32 130 /90
RunsOn main-shaped qualification 43 /44 44 /45 BS8: 13; BS32: 30; AWS: 1 70 /90
RunsOn broad PR 100 /62 98 /60 BS8: 65; BS32: 32; AWS: 1 130 /90
Blacksmith main 51 /52 51 /52 BS8: 18; BS32: 33 70 /90
Blacksmith broad PR 105 /67 105 /67 BS8: 57; BS32: 48 130 /90
GitHub main 58 /59 58 /59 Hosted: 58 70 /90
GitHub broad PR 111 /73 111 /73 Hosted: 111 130 /90

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 0a5b5381a26b8480021005dc0145524ba6181cdb plus 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-6 and -7 now 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 onto 0a5b5381a26b8480021005dc0145524ba6181cdb. 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.mjs passed 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 and git diff --check passed. 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 merge 0127a5f9276a068d1b4c66010383a3f9186f004c, whose tree equals that head and whose parents are base 0a5b5381a26b8480021005dc0145524ba6181cdb and 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.

Class Main baseline 35679872894 jobs / minutes / reference cost Broad PR baseline 35688659765 jobs / minutes / reference cost e56 broad PR jobs / minutes / reference cost e56 median eligible assignment
Blacksmith 8 Linux 10 /51.317 /$0.8211 68 /325.617 /$5.2099 65 /438.300 /$7.0128 9s
Blacksmith 16 Linux 2 /6.917 /$0.2213 16 /92.767 /$2.9685 16 /122.433 /$3.9179 9s
Blacksmith 32 Linux 29 /199.917 /$12.7947 33 /225.350 /$14.4224 32 /295.483 /$18.9109 10s
Blacksmith 16 Windows — 5 /28.267 /$1.8091 5 /37.750 /$2.4160 64s
Hosted Ubuntu 24.04 25 /106.050 /$0 29 /107.483 /$0 29 /98.450 /$0 50s
macOS 15 — — 3 /14.700 /$0 10s
RunsOn Spot — — 0 —
Blacksmith subtotal 41 /258.150 /$13.8371 122 /672.000 /$24.4099 118 /893.967 /$32.2576 —
Allocated jobs, all classes 66 151 150 —

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-15 appears 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

Contract, identified by child membership Before Current broad PR forecast Current observed job wall Result
agentic-cli-process-hosted-6 and -7 One serial pair; historical 842s Separate 558s /703s 328s /378s (small-30 /small-30-tail) Both now <600s; child envelopes 290.664s /301.884s
core-tooling-7-hosted-2 and core-tooling-11-hosted-2 One current serial tooling pair Separate 576.5s /199s 1024s /466s (small-32 /small-32-tail) Split applied; first child still exceeds600s
core-tooling-1, -2, -6-hosted-1 Three eligible jobs 617s 407s (small-20) Below720s packing admission limit
core-tooling-5, -3 Two eligible jobs 481s 395s (small-24) Below720s packing admission limit
core-tooling-7-hosted-1, -4 Two eligible jobs 524s 344s (small-26) Below720s packing admission limit

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.

Competing path Job wall Test step Runtime build Other job overhead Full candidate chain
compact-large-2 1184s 1040s 102s 42s 1317s
compact-small-32 1024s 975s — 49s 1151s
compact-small-11 911s 840s — 71s 1037s

large-2 executes agentic-gateway-server-isolated-hosted-1 (743.038s complete child: isolated-config223.56s then database-worker-config514.67s) followed serially by agentic-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-32 is a single core-tooling-7-hosted-2 child,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 were package-acceptance-workflow.test.ts409.73s, pr-merge-recovery.test.ts365.67s and pr-worktree-provision.test.ts211.14s; those overlapping sums are evidence of where work occurs, not complete per-file walls.

small-11 serially 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

Job Wall Test/check step Why it exceeds600s (complete native child walls unless stated)
compact-large-2 1184s 1040s Isolated Gateway743.0s +runtime-config295.4s;102s runtime build
compact-small-32 1024s 975s One83-file tooling child972.1s; canonical estimate underpriced this contract
compact-small-11 911s 840s Storage425.8 +runtime-server265.1 +agent-runner129.4 +network18.2, serial
check-lint 829s 771s Serial extension oxlint batches plus scripts/format; extension+scripts oxlint span568.2s
compact-small-10 796s 761s Storage320.0 +outbound156.9 +agent-chat283.2, serial
compact-small-13 772s 713s Storage398.9 +heartbeat92.9 +auth-node171.9 +routing39.3 +doctor9.3
compact-large-15 765s 726s Gateway core219.3 +isolated166.8 +unit99.8 plus seven agent/reply children235.1
compact-small-12 755s 698s Storage328.7 +agent-chat243.5 +process101.5 +doctor23.6
compact-small-34 706s 625s Existing tooling12-hosted-1 376.6 +tooling13-hosted-2 247.3;81s overhead
extension-bundle-32 680s 641s Telegram database-worker child408.6 +ACPX76.7 +Zalo61.8 +Mattermost50.5 +Telegram41.8
compact-large-4 674s 609s Gateway methods343.8 +agents-support75.0 +isolated189.5
extension-bundle-14 673s 576s Codex database-worker child345.2 +Telegram191.1 +Zalo37.6;97s overhead
compact-large-7 664s 586s Gateway core162.7 +media/UI213.5 +agents-runtime207.6
compact-large-14 664s 595s Gateway core205.5 +isolated125.6 +unit101.2 plus four agent/control children158.5
compact-small-17 648s 591s Ten serial plugin-SDK/command/control-plane/reply/network children589.0s
compact-large-1 638s 477s Commands-runtime288.6 plus six children185.6;104s runtime build
compact-small-15 621s 567s Storage294.7 +runtime-state187.8 +cron49.8 +network/install18.0 +heartbeat15.4
compact-large-9 604s 520s Gateway174.8 +security127.3 +models137.4 +auth66.9 +CLI11.8;84s overhead

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

Profile / shape Current Node rows /cap Current compact descriptors /cap Spare Node rows Spare compact descriptors
Hybrid main 43 /70 44 /90 27 46
Hybrid broad PR 97 /130 59 /90 33 31
RunsOn main 44 /70 45 /90 26 45
RunsOn broad PR 98 /130 60 /90 32 30

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 selected ci_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.

Class Original main jobs /minutes /reference compute e56 main-shaped jobs /minutes /reference compute Median eligible assignment
Blacksmith8 Linux 10 /51.317 /$0.8211 13 /101.900 /$1.6304 5s
Blacksmith16 Linux 2 /6.917 /$0.2213 18 /137.667 /$4.4053 11s
Blacksmith32 Linux 29 /199.917 /$12.7947 31 /298.367 /$19.0955 11s
Blacksmith16 Windows — 5 /31.550 /$2.0192 49s
Hosted Ubuntu24.04 25 /106.050 /$0 31 /121.050 /$0 5s
Standard hosted macOS15 — 3 /15.317 /$0 10s
RunsOn Spot c8i.8xlarge — 1 /6.517 job minutes /$0.075912 launch→completion lower bound 23s
Blacksmith subtotal 41 /258.150 /$13.8371 67 /569.483 /$27.1504 —
Allocated jobs, all classes 66 102 —

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).

Longest standalone job Wall Significant job steps Contract/cause
checks-ui-e2e-real-gateway 1032s Checkout31;setup13;Chromium16;runtime/UI build135;desktop resize proof90;real-Gateway suites735 33files/63tests passed; Vitest wall731.7s with two workers. This non-Node-matrix owner is now the critical path.
docker-seed-e2e 1025s Checkout24;setup15;Docker owner lanes972 Package preparation475s;registry preparation6s;shared images42s;four serial Docker lanes448s, including published-upgrade-survivor324s.
checks-node-compact-large-2 957s Checkout60;setup22;runtime build92;test shard774 Main's17-file isolated Gateway child584.749s plus six serial child groups187.732s. Two config invocations272.48/308.64s.

The 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

Job Wall Test/check step Measured explanation
UI real-Gateway 1032s 735s 135s build +90s desktop proof +731.7s Vitest suites, two workers
Docker seed E2E 1025s 972s 475s package preparation +42s images +448s serial lane pool
compact-large-2 957s 774s Isolated Gateway584.7 +six children187.7;92s runtime build
compact-small-10 952s 896s Storage376.8 +outbound189.0 +agent-chat329.3, serial
compact-small-15 794s 704s Storage343.6 +runtime-cron72.2 +runtime-state254.3 +network17.6 +heartbeat14.9
compact-small-12 769s 675s Storage319.2 +agent-chat232.8 +process97.1 +doctor24.3
compact-large-18 758s 565s Isolated Gateway336.4 +runtime-config227.3;127s runtime build
compact-large-3 743s 648s Gateway-methods333.9 +agents-support110.8 +isolated201.9
compact-large-13 711s 653s Gateway-core246.9 +doctor179.8 +isolated124.6 +tools68.3 +reply28.2 +platform3.9
compact-large-9 707s 605s Gateway-core242.8 +security141.6 +models160.9 +auth50.0 +CLI7.4
compact-large-4 706s 653s Gateway-methods409.8 +support111.3 +isolated130.4
compact-small-13 705s 620s Storage330.5 +heartbeat77.7 +auth165.2 +routing35.5 +doctor9.6
check-lint (hosted) 693s 608s Whole lint/format shard608s plus85s other job work
compact-large-1 678s 502s One commands-runtime child500.3s plus114s runtime build
compact-large-6 677s 624s Two concurrent plans; storage child523.6s overlaps other runtime/config work, then remaining queue. Child walls cannot be summed as serial.
compact-small-20 648s 465s CLI-process411.3 +Gateway-core-runtime52.3;91s runtime build
compact-large-7 643s 581s Gateway-core163.6 +media/UI204.3 +agents-runtime211.7
compact-small-11 641s 584s Storage338.3 +runtime-server168.1 +agent-runner65.8 +network10.3

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-cron passed 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-compatible policy routes other children to Bun, but these cron children remain Node in the observed log.

Cron child Files Same-head Blacksmith32 child wall RunsOn Spot child wall
service 127 197.129s 193.200s
isolated-agent 66 121.223s 112.206s
core 66 55.260s 43.493s
Total complete child envelopes 259 373.612s 348.900s

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 and check-dependencies plus the aggregate gate failing. The sole dependency finding was the unused internal export TSGO_CORE_TEST_MAX_ROOTS. The limit remains720; making the constant private changes no value, runner, inventory, assertion or deadline. The exact pnpm deadcode:full command 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.ts at 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-36 failure 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.ts is not a file wall.

Changed test file Native containing PR job Complete job wall Test step
ci-changed-node-test-plan.test.ts compact-large-23 256s 224s
ci-node-test-plan.test.ts, ci-test-timings.test.ts, test-projects.test.ts compact-small-37 546s 502s
ci-workflow-guards.test.ts compact-small-38 376s 320s
ci-workflow-planning.test.ts compact-small-32-tail 466s 400s
ci-test-timings-tooling.test.ts compact-small-6 454s 383s
plugin-prerelease-test-plan.test.ts compact-small-32 1024s 975s

Spot 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=runson dispatch 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-interrupted on 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. Therefore retry=false is 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-on CloudFormation 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, and 35675497006. 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.

Job family Blacksmith GitHub-hosted Hybrid placement
preflight 46 [48] — Blacksmith; starts the graph
security-fast — 45 [66] Hosted when admitted
build-artifacts 280 [314] 599 [898] Blacksmith 16-class
check-lint 461 [499] 624 [631] Hosted on admitted main pushes
check-lint-core-1 / -2 — 311 [377] / 332 [358] Hosted
check-prod-types — 240 [282] Hosted
check-test-types 358 [387] 608 [664] Hosted on admitted main pushes
check-test-types-core-1 / -2 281 [321] / 257 [329] 521 [572] / 496 [524] Hosted when admitted
check-dependencies 228 [260] 434 [476] Hosted when admitted
check-additional-extension-package-boundary 200 [221] 287 [377] Hosted when admitted
check-additional-runtime-topology-architecture 133 [161] 289 [320] Hosted when admitted
check-additional-boundaries — 217 [232] Hosted
check-bundled-channel-config-metadata — 107 [140] Hosted
check-guards / check-npm-lock — 148 [192] / 72 [82] Hosted
check-prompt-snapshots / check-source-contracts — 76 [108] / 100 [104] Hosted
Fast baseline / Bun launcher / bundled protocol / coercion — 158 [167] / 110 [147] / 211 [223] / 64 [89] Hosted
Fast channel / plugin contracts — 322 [325] / 225 [248] Hosted
control-ui-performance — 120 [130] Hosted
Docs / Python skills / native and Control UI i18n — No comparable sample Retain existing hosted routes
openclaw/ci-gate — 3 [6] Hosted

Independent 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.

Test family Available complete-job evidence Placement and remaining measurement
Compact large, baseline bin 13 Blacksmith 932 [967]s across five runs Retain Blacksmith; correct underestimated serial packing
Other compact large bins Blacksmith 57–616s No hosted comparator for the exact inventories
Compact small bins Blacksmith 70–731s; bin 23 median 668s No hosted comparator for the exact inventories
Whole agents-support historical benchmark Blacksmith 706s; hosted 1909s Retain Blacksmith for this parallel-heavy workload; do not apply its ratio to every family
Changed-extension envelopes Recent 47-row PR sample: median 281s, maximum 473s; another sample has a 982s tail Retain current runner and process boundaries; combined jobs need native proof
UI unit shards Hosted 296/411/317s, one run Hosted when admitted
Control UI E2E shards 1–12 Blacksmith 269–526s, one run Retain 16-class; hosted comparison missing
Browser-extension E2E Hosted 232s, one run Hosted when admitted
Real-Gateway UI E2E Blacksmith 712s, one run Retain 32-class
Windows Historical Blacksmith 676/797s on the old two-row inventory Retain native route; current five-row and hosted comparison missing
macOS Node / Swift No successful sample in these receipts Retain native routes; no latency claim

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.

@clawsweeper

clawsweeper Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: S maintainer Maintainer-authored PR labels Sep 22, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 22, 2026
@clawsweeper

clawsweeper Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 22, 2026, 4:02 PM ET / 20:02 UTC (Revision 12).

ClawSweeper review

What this changes

The 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 provenance

Possible 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
Reviewed head: d784bdd62885e9a2217142d6d0650f12d1401c80
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong, candid native measurements support useful work, but the unresolved routing defect prevents merge readiness.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): Recorded native CI exercises the changed planner and workflow, showing successful packed jobs, separated CLI children, and actual RunsOn Spot execution; GitHub confirms the current-head PR run and historical Spot job succeeded. This proves those behaviors, not interruption recovery or the unmet 15-minute objective. Timing weights retain their existing format and no stored-data contract changes.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): Recorded native CI exercises the changed planner and workflow, showing successful packed jobs, separated CLI children, and actual RunsOn Spot execution; GitHub confirms the current-head PR run and historical Spot job succeeded. This proves those behaviors, not interruption recovery or the unmet 15-minute objective. Timing weights retain their existing format and no stored-data contract changes.
Evidence reviewed 10 items Pinned introduction: Reviewed the introduced delta from the pinned merge base to d784bdd. The supplied test merge is stale relative to the pinned base, so it was not used to infer removal of current-main behavior.
Unresolved routing defect: An admitted dispatch overwrites configured github with the requested backend at lines 1019–1020, restores that backend on attempt one, and publishes outputs that precede the repository setting in downstream runner selection. The qualification test starting at line 3487 explicitly expects this behavior even for configured github.
Existing outage contract: The runner documentation promises that every configurable job remains hosted in github mode; qualification currently violates that operational contract.
Findings 1 actionable finding [P2] Preserve the GitHub-only override during qualification
Security None None.

How this fits together

OpenClaw'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
Loading

Decision needed

Question Recommendation
Should this PR be accepted for its demonstrated packing gains and experimental Spot route, or retain the documented 900-second whole-workflow qualification gate? Accept a narrower scope: After fixing the outage override, align the documentation with demonstrated packing improvements and keep Spot explicitly experimental without a 15-minute guarantee.

Why: The measurements establish useful behavior but fail the committed acceptance criteria; changing that acceptance scope requires the CI owner's intent.

Before merge

  • Preserve the GitHub-only override during qualification (P2) - With OPENCLAW_CI_RUNNER_BACKEND=github, an admitted first-attempt dispatch requesting hybrid or runson overwrites the outage setting here. The published qualification outputs then take precedence in downstream runner expressions, allocating Blacksmith or AWS runners despite the documented all-hosted circuit breaker. This previously reported finding remains unresolved. Preserve configured github in both profile resolution and final placement, and update the qualification tests that currently expect paid routing for this combination.
  • Resolve merge risk (P1) - The committed completion gate still requires a 900-second workflow and at-most-60-second class assignment medians; the observed results miss it, so acceptance must be explicitly narrowed or the retained criteria met.
  • Complete next step (P2) - Fix the GitHub-only qualification override and resolve whether the committed performance gate remains required or is explicitly narrowed.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

  • [P2] Preserve the GitHub-only override during qualification — .github/workflows/ci.yml:1019-1020
Agent review details

Security

None.

PR surface

Tests +2387, Docs +244, Config +143, Other +528. Total +3302 across 25 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 10 2496 109 +2387
Docs 6 257 13 +244
Config 1 246 103 +143
Generated 0 0 0 0
Other 8 552 24 +528
Total 25 3551 249 +3302

Review metrics

Metric Value Why it matters
Operator controls 2 dispatch inputs and 1 backend value added Qualification controls must compose correctly with the existing outage override.
Measured acceptance PR 17m00s; historical main shape 19m23s; target 15m00s Successful execution does not satisfy the retained whole-workflow performance criterion.
Production versus test growth Tooling/workflow net +665 lines; tests/support net +2387 lines Growth supports qualification, measured placement, timing parsing, and contract coverage rather than application runtime expansion.

Merge-risk options

Maintainer options:

  1. Repair routing and narrow acceptance (recommended)
    Preserve configured github through final runner placement and obtain explicit acceptance of the measured, narrower performance scope.
  2. Wait for full qualification
    Pause landing while retaining the existing performance criteria and resolving the routing defect.

Technical review

Best 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:

  • [P2] Preserve the GitHub-only override during qualification — .github/workflows/ci.yml:1019-1020
    With OPENCLAW_CI_RUNNER_BACKEND=github, an admitted first-attempt dispatch requesting hybrid or runson overwrites the outage setting here. The published qualification outputs then take precedence in downstream runner expressions, allocating Blacksmith or AWS runners despite the documented all-hosted circuit breaker. This previously reported finding remains unresolved. Preserve configured github in both profile resolution and final placement, and update the qualification tests that currently expect paid routing for this combination.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f0d26603a5c1.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded internal CI improvement with an operational routing defect, without evidence of an urgent product outage.
  • merge-risk: 🚨 automation: Qualification can allocate paid runners despite the configured GitHub-only outage setting, and its performance acceptance remains unresolved.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (linked_artifact): Recorded native CI exercises the changed planner and workflow, showing successful packed jobs, separated CLI children, and actual RunsOn Spot execution; GitHub confirms the current-head PR run and historical Spot job succeeded. This proves those behaviors, not interruption recovery or the unmet 15-minute objective. Timing weights retain their existing format and no stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded native CI exercises the changed planner and workflow, showing successful packed jobs, separated CLI children, and actual RunsOn Spot execution; GitHub confirms the current-head PR run and historical Spot job succeeded. This proves those behaviors, not interruption recovery or the unmet 15-minute objective. Timing weights retain their existing format and no stored-data contract changes.

Evidence

What I checked:

  • Pinned introduction: Reviewed the introduced delta from the pinned merge base to d784bdd. The supplied test merge is stale relative to the pinned base, so it was not used to infer removal of current-main behavior. (.github/workflows/ci.yml:1016, d784bdd62885)
  • Unresolved routing defect: An admitted dispatch overwrites configured github with the requested backend at lines 1019–1020, restores that backend on attempt one, and publishes outputs that precede the repository setting in downstream runner selection. The qualification test starting at line 3487 explicitly expects this behavior even for configured github. (.github/workflows/ci.yml:1019, d784bdd62885)
  • Existing outage contract: The runner documentation promises that every configurable job remains hosted in github mode; qualification currently violates that operational contract. Public docs: docs/ci/runners.md. (docs/ci/runners.md:190, d784bdd62885)
  • Complete captured proof narrative inspected: Read the remaining body ranges through GitHub and verified SHA-256 701bf111e85dbf245fb897c617431d2e0586a58ab816c750ada5a1a5fc746b82 against the supplied snapshot. It records successful packed jobs, CLI splits, and actual Spot execution, while explicitly retaining failed performance criteria and distinguishing historical heads from the current PR merge run. (d784bdd62885)
  • Actual CI execution: GitHub confirms run 35774114280 succeeded on attempt one for the pinned head, from 19:29:23Z to 19:46:23Z. The captured body identifies the actual merge checkout and reports a 1019-second gate path and 84-second Windows median assignment. (d784bdd62885)
  • Spot proof retains its original source: GitHub confirms the RunsOn cron job in run 35769239223 succeeded in 391 seconds with the requested Spot label. The captured body records IMDS-confirmed Spot allocation and matching cron contracts at e56ca80; no interruption recovery is claimed. Direct log retrieval was blocked by the review environment's artifact-host allowlist, which does not invalidate the supplied runtime evidence. (e56ca801de91)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Make configured github win in profile resolution and every downstream runner expression, with focused qualification regression coverage.
  • Explicitly narrow the documented acceptance scope to demonstrated gains or satisfy the retained whole-workflow criterion.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (11 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-22T05:52:23.650Z sha da6e2bc :: blocked before merge. :: none
  • reviewed 2026-09-22T08:09:56.122Z sha 84733d1a17a9a7321ac74099e421889099e411b4 :: blocked before merge. :: [P2] [P2] Preserve the GitHub-only override before RunsOn routing
  • reviewed 2026-09-22T08:19:40.122Z sha 84733d1a17a9a7321ac74099e421889099e411b4 :: blocked before merge. :: [P2] [P2] Preserve the GitHub-only override before RunsOn routing
  • reviewed 2026-09-22T09:03:14.856Z sha a14f00e :: blocked before merge. :: [P2] [P2] Preserve the GitHub-only override before RunsOn routing
  • reviewed 2026-09-22T09:26:36.838Z sha a14f00e :: blocked before merge. :: [P2] [P2] Preserve the GitHub-only override before RunsOn routing
  • reviewed 2026-09-22T14:32:35.333Z sha e56ca80 :: blocked before merge. :: [P2] Preserve the GitHub-only override during qualification
  • reviewed 2026-09-22T19:12:39.672Z sha 98ff4fd :: blocked before merge. :: [P2] Preserve the GitHub-only override during qualification
  • reviewed 2026-09-22T19:40:08.445Z sha d784bdd :: blocked before merge. :: [P2] Preserve the GitHub-only override during qualification

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 22, 2026
@steipete
steipete force-pushed the ci-burden/r3-three-tier-routing branch from b5c3dc8 to da6e2bc Compare September 22, 2026 04:54
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 22, 2026
@steipete
steipete force-pushed the ci-burden/r3-three-tier-routing branch from da6e2bc to 84733d1 Compare September 22, 2026 08:00
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 22, 2026
@steipete steipete changed the title chore(ci): reduce extension fanout and preserve fast artifact builds ci: add Spot cron routing and reduce extension fanout Sep 22, 2026
@steipete
steipete force-pushed the ci-burden/r3-three-tier-routing branch from 84733d1 to a14f00e Compare September 22, 2026 08:54
@openclaw-barnacle openclaw-barnacle Bot added the channel: telegram Channel integration: telegram label Sep 22, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 22, 2026
@steipete
steipete force-pushed the ci-burden/r3-three-tier-routing branch from a14f00e to eac7f39 Compare September 22, 2026 14:14
@openclaw-barnacle openclaw-barnacle Bot removed the channel: telegram Channel integration: telegram label Sep 22, 2026
@steipete
steipete force-pushed the ci-burden/r3-three-tier-routing branch from eac7f39 to e56ca80 Compare September 22, 2026 14:23
@clawsweeper clawsweeper Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 22, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 22, 2026
@steipete steipete changed the title ci: add Spot cron routing and reduce extension fanout ci: pack test jobs and add opt-in Spot cron routing Sep 22, 2026
@steipete
steipete enabled auto-merge (squash) September 22, 2026 20:08
@steipete
steipete merged commit 5ac833c into main Sep 22, 2026
215 checks passed
@steipete
steipete deleted the ci-burden/r3-three-tier-routing branch September 22, 2026 20:08
vincentkoc added a commit to ycmjbot-bot/openclaw that referenced this pull request Sep 22, 2026
* 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
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 23, 2026
* 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
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
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 maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant