Repository navigation
fix(ci): bound full-dispatch compact test groups - #201181
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: needs maintainer review before merge. What this changesThis PR applies existing hosted file limits to full-inventory compact CI groups and admits successful compact dispatch jobs into timing refits. Example: A GitHub-hosted full dual-runtime dispatch selects the complete agent-chat inventory.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it supplies useful bounds and timing admission still missing from main, with no actionable introduced defect found; exact-head CI remains pending and the author explicitly marks it not yet ready. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe CI manifest sends test inventories and execution policies to the Node planner, which emits runner jobs; the timing sampler feeds successful job measurements into the existing timing refit owner. flowchart LR
A[CI manifest] --> B[Test inventory]
B --> C[Existing compact splitter]
C --> D[Bounded job packer]
D --> E[Node and Bun jobs]
E --> F[Timing sampler]
F --> G[Existing timing refit]
Technical reviewBest possible solution: Retain the existing splitter, packer and parser with the narrowly extended predicates and admission-time dispatch provenance. Do we have a high-confidence way to reproduce the issue? Current-main source shows full inventory bypassing the remaining hosted family limits and compact dispatch jobs being excluded from timing admission; the body records base-failing regressions, but this read-only review ran no target code. Is this the best way to solve the issue? The patch is the smallest complete repair identified: reuse the existing bound map and parser, preserve main-only updater isolation and Gateway dedicated rows, and record dispatch provenance where runs are admitted. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5724f9518219. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +66, Docs 0, Other +4. Total +70 across 6 files. Added test files: 0. 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. LabelsLabel changes: No label 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 HistoryReviewed November 18, 2026, 10:12 PM ET / November 19, 2026, 03:12 UTC (Revision 3). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
* fix(ci): bound full-dispatch compact test groups * fix(ci): retain dispatch timing contributor provenance Backport to beta.2 preparation; exact reviewed adapted patch. Focused parent proof: 35 tests; nine-file type-aware lint; 18-file format. Tooling typecheck retains the same two pre-existing cron UI errors as baseline. No release qualification. (cherry picked from commit 4a7ee1f) Adaptation: retain canonical updater prerequisite ownership for the actual target inventory. Co-authored-by: RomneyDa <[email protected]>
* fix(ci): bound full-dispatch compact test groups * fix(ci): retain dispatch timing contributor provenance
* fix(ci): bound full-dispatch compact test groups * fix(ci): retain dispatch timing contributor provenance (cherry picked from commit 4a7ee1f) Release adaptation: preserve baseline ordinary-PR and hourly routing; include selected incident-backed owner limits and adapt push/full guard without unrelated mainValidation changes. Co-authored-by: RomneyDa <[email protected]>
Derive the build mode and preparation cost from exact selected test files. Declare and exercise the already-packaged transcript reconciliation worker for both lifecycle test paths. Release adaptation: add the build-mode calculation to stable's selected planner without importing main-only worker-env and #204314 timeout changes. Retain the stable runtime-config dir and lint inventory; remove only the retired close-failure fixture suppression, not add the unrelated compacted session-model fixture entry that is absent on stable. Companion audit: #201666, #201181 and #203241 are present-equivalent; the canonical transcript worker manifest/build entry is already on stable. #204314 is not required (independent timeout projection). #200321 is not required for this test-only worker switch. The original audit pin predates #202514; no later same-path, PR-number, or SHA follow-up through ad629bc. (cherry picked from commit ad2f629) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit c23a5aeddea2f5b92a135dec4ae47ef67393675e)
Fix hosted full-dispatch compact envelopes
Problem and solution
Full dual-runtime dispatch intentionally uses the capped compact plan. Its full-inventory path missed incident-backed main file limits, permitting underpriced large chat, support and config groups. Reuse the existing compact file-limit map for GitHub-hosted full inventory, separately from main-only updater isolation. The timing refit source selector also excluded current compact dispatch spans; admit them to its existing compact parser. No new splitter, parser, public option, limit or generated timing data.
Preserved boundaries
November 19 integration and current proof
Head
068c162e699c19733b0d4cfc0b6359b2919ccd01merges main96189709bc5042cac232926c541f27fe2efd1dfcto repair an actual conflict with #201270 (7eb33ccb25f76747be9a60ef74b69b83b76fd471). That landed change deliberately bounds Gateway methods in ordinary compact PR layouts and dedicates rows to chunks above 32 files. Preserve it, including hourly-main's 77-row packing. The conflict resolution is the union of the existing applicability predicates, not a second planner. No added permanent tests or new machinery in this repair.node scripts/run-vitest.mjs run test/scripts/ci-node-test-plan-hosted-tail.test.ts test/scripts/ci-node-test-plan.test.ts test/scripts/ci-test-timings.test.ts --maxWorkers=1. Includes main's Gateway isolation regressions and this PR's full-inventory and sampler regressions.Earlier regression and real-workload evidence
These are prior-head results, not new-head CI:
OPENCLAW_BUILD_PRIVATE_QA=0and prebuilt flag absent. It verified 56 plugin control-plane modules and all 14 postbuild phases; worker compilation verified its generation. Existing artifacts were not destructively cleaned: this is not pristine runtime-only filesystem proof.Critical path, history and limitations
Observed CI runs https://github.com/openclaw/openclaw/actions/runs/44268159668 and https://github.com/openclaw/openclaw/actions/runs/44264437379 had compact spans 65m03s/71m07s, peak running counts 95/94, max queue delays 800s/766s. Job https://github.com/openclaw/openclaw/actions/runs/44268159668/job/134678365855 spent 2,601s in its large stripe, including 2,214s for 277 Gateway files. These pre-#201270 measurements motivate bounded groups, but do not establish this PR's remaining end-to-end benefit after that fix.
Preserves deliberate runtime-consumer separation from #138839 (
d1a69c0b2095) and removal of unnecessary update preparation in #195288 (f1c5af0f6bc3). Reuses incident-backed main limits from #157302/#198992 and Gateway isolation from #201270.No measured FRV speedup or 12-minute guarantee. Smaller groups permit redistribution by the existing packer; setup, queue/capacity, combined-policy prices and downstream barriers can hide component savings. The more recent fully drained stable-2026.11.6 audit found the package-survivor branch dominant, not ordinary CI; this PR is not credited with reducing those parents' completion time. The separate survivor-cap proposal #201265 targets that bottleneck.
Local dist existed. Clean snapshot execution was blocked by an escaping dependency symlink after native-pnpm preflight, not a product-test failure; no install/isolation bypass. No full-dispatch Node/Bun candidate execution or peak-RSS/wall comparison. Ordinary PR CI is not a hosted full-dispatch performance experiment. No catalog or baseline weakened.
Hosted finding repair
ClawSweeper's valid P3 concerned dispatch provenance being inferred from packed job names. Commit
886b3d0251725ca05a7fd72add266bdd7b11e145instead records run IDs at admission; the earlier two-main-run eligibility gate is unchanged. Existing CLI fixtures reproduce four main contributors before and correctly report two main/two dispatch afterward. Earlier timing suite: 110 passed/29.58s; current 287-test run includes it. No extra fixture was added for that repair.Size and review state
Current merge-base delta: production +17/-13, tests +87/-21, docs +1/-1; six files +105/-35. Prior revision: +103/-32 total; the integrated delta retains main's isolation instead of replacing it. Author simplification applied: one existing predicate/map/parser, no duplicate owner or additional tests. Separate local independent review explicitly waived.
Ready for review as of November 19, 2026, 03:19 UTC. Current head
068c162e699c19733b0d4cfc0b6359b2919ccd01is conflict-free. Exact-head CI https://github.com/openclaw/openclaw/actions/runs/44448944731 completed successfully; the observed rollup has 57 successful checks/statuses, 61 skipped checks and one neutral check, with no pending or failing checks. Required commit statuses are green at https://github.com/openclaw/openclaw/actions/runs/44450267755. ClawSweeper completed its exact-head review at 03:12:47 UTC with no findings or before-merge items: #201181 (comment). The explicit request acknowledgment confirms completion: #201181 (comment). Review readiness does not establish a measured full-FRV performance improvement; the limitations above remain.