Repository navigation
refactor(ci): centralize independent Node/Bun runtime planning - #198278
Conversation
Preserve runtime coverage and per-runner budgets while separating scheduling, retries, and timing samples. Pack full dual-runtime dispatch within existing per-runtime caps. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 8f0a7349-68f9-4cc5-a0c1-86dca2d4207e
Retain expensive main and full-dispatch inventory runs as one-off PR evidence. Prune duplicated policy and gate assertions and a symmetric retry case while retaining boundary regressions. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 28e10137-9d09-4a5d-b003-3ba0b58796e6
Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 3d20c655-bb75-4456-ae34-99e9ea99ba6a
Keep runtime membership in its owner and name matrix jobs at the manifest boundary. Reuse one subset projection for primary and hosted-retry cost estimates. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 935489fb-7adb-460c-b7e0-22afd6399be5
|
🦞👀 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. What this changesThis PR schedules Node and Bun root-test and plugin-batch work independently during full manual validation while preserving runtime membership and separating timing feedback. Example: Full Release Validation uses dual-all and the Bun leg fails.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this maintainer-authored PR open. The simplified implementation has no identified correctness blocker, and its explicit qualification hold remains appropriate. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherCI manifests turn selected test inventories and runtime policy into matrix jobs; shard and plugin executors consume those jobs, and timing collectors feed measurements back into planning. flowchart TD
A[Selected test inventory] --> B[Existing compact planner]
B --> C[Runtime membership owner]
C --> D[Node matrix jobs]
C --> E[Bun matrix jobs]
D --> F[Existing CI gate]
E --> F
D --> G[Runtime timing feedback]
E --> G
Technical reviewBest possible solution: Keep runtime membership in its existing owner and land the simplified split only after the recorded scheduling qualification succeeds. Do we have a high-confidence way to reproduce the issue? This is a scheduling improvement rather than a broken product contract; the base source establishes sequential runtime execution. Is this the best way to solve the issue? The simplified approach appropriately reuses the existing compact planner, runtime membership policy, executors, and timing owners without adding a competing packer. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f905d3f21c94. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +397, Docs +16, Config +15, Other +171. Total +599 across 23 files. Added test files: 1. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (3 earlier review cycles)
Reviewed November 15, 2026, 7:13 PM ET / November 16, 2026, 00:13 UTC (Revision 4). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…law#198278) * improve(ci): run Node and Bun checks independently Preserve runtime coverage and per-runner budgets while separating scheduling, retries, and timing samples. Pack full dual-runtime dispatch within existing per-runtime caps. Co-authored-by: RomneyDa <[email protected]> * improve(ci): run Node and Bun checks independently OpenClaw-Publication: 8f0a7349-68f9-4cc5-a0c1-86dca2d4207e * test(ci): keep inventory qualification out of recurring checks Retain expensive main and full-dispatch inventory runs as one-off PR evidence. Prune duplicated policy and gate assertions and a symmetric retry case while retaining boundary regressions. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/publish-independent-runtime-ci OpenClaw-Publication: 28e10137-9d09-4a5d-b003-3ba0b58796e6 * fix(ci): isolate runtime selection in test fixtures Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/publish-independent-runtime-ci OpenClaw-Publication: 3d20c655-bb75-4456-ae34-99e9ea99ba6a * refactor(ci): centralize independent runtime planning Keep runtime membership in its owner and name matrix jobs at the manifest boundary. Reuse one subset projection for primary and hosted-retry cost estimates. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * refactor(ci): centralize independent Node/Bun runtime planning Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 935489fb-7adb-460c-b7e0-22afd6399be5 * test(ci): fix runtime feedback fixture lint * test(ci): isolate node volume fixture from runtime selection * refactor(ci): simplify full-validation runtime jobs --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Backport #198278 (44522c4) to the signed v2026.11.5 baseline. Preserve existing runner placement, packaging prerequisites, and compact planning. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Related: #197499 — superseded alternative. This PR retains the original implementation and contributor credit.
Problem and scope
Full manual validation currently executes Node then Bun inside one job. This change makes root-test and plugin-batch runtime results independently schedulable/retryable. It does not claim a measured FRV wall-time win yet; candidate qualification and queue-inclusive comparison are required before landing.
Simplification
5b750071d1d31b2af9c8d2e58d0f65da010845dc. Remove runtime-weighted repacking, special CLI stripes, executable-selection-to-packing helper, and temporary module-level timing context.Historical rationale and actual wall-time evidence
Colocation was deliberate, not an accidental missed parallelism:
a94962e9ca8926b7bc410798fa9cb88a1e0ff78f: qualified Bun in existing worker slots, separate caches/timings and Node preparation; UI initially stayed Node because Bun exceeded 16 GiB.fa86f99a19fa23fb58b22da6b2cdfd859688cac3: explicit full Node-before-Bun dispatch policy, doubled sequential deadlines and plugin phase barrier.7f4c63524a63ffc3466b19cfa131e327e36d731f: five paired trials established Bun/Node aggregate ratios 0.727–0.752; retained existing slots/caps. Those measurements establish Bun efficiency, not a split-job wall-time gain.387042f830d0586ee6c8484d95db648521c3e78b, cold release balancing, merged November 15 at 01:54:40 UTC. The evening FRV ran a frozen older target without that fix; it is not a valid measurement of current-main balancing. The shared compact plan also needs a fresh queue-inclusive comparison rather than extrapolation from that old run.Observed FRV 43757970051, November 15 20:25:14–22:13:11 UTC: 6,477s total, target
2c173a37a48f850246ae2133aa5c02df2ae35953. Critical job 132948320578 queued 631s, ran 5,279s, with ~226s setup (including 141s build). Its test step ran Node 2,822.14s, then Bun 2,152.45s. Across 174 root jobs, maximum queue delay was 1,041s.The 35m52s Bun overlap is only a single-job optimistic bound. Other npm/sealing barriers finished around 21:47, limiting the modeled whole-FRV gain to roughly 24–25 minutes even before extra setup, runner availability, packing changes and queue delay. Full-manual root cap remains 96 and plugin cap 12. Extra setup/capacity contention can erase or reverse the gain. No measured post-change FRV result yet; do not land on the theoretical bound alone.
Size and proof
Compared with previous
8d6aa41fb654f728ed841acab56617e63ff5233f:Current cleanup head:
62d9307fcfaf82be12b6ea54f1387cb6f3d70969. Proof:Candidate-owned diagnostic helper dry-run passes with C=Q=
62d9307fcfaf82be12b6ea54f1387cb6f3d70969and trusted P=ce49266c9a0791c969f49c49110061f509aaada3; no remote dispatch/ref was created. Actual FRV fanout is held by the enforcing asset-budget failure under the release preflight rule, not by an assumed unmerged-candidate prohibition. Mock-factory preflight passes at this exact candidate. Fresh hosted ClawSweeper requested in comment #198278 (comment). Exact-head CI, hosted ClawSweeper, and candidate FRV evidence remain required. Separate local independent review was explicitly waived by the requester. Not yet RFR.Worked on by