Skip to content

improve(ci): shorten hosted PR path - #123570

Merged
steipete merged 1 commit into
mainfrom
steipete/ci-shard-height
Aug 14, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/ci-shard-height

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The hosted PR path had two recurring critical-path poles: three core oxlint stripes each ran for roughly 340 seconds, and checks-node-compact-small-26 repeatedly ran for 360–370 seconds while sibling compact-small lanes generally finished in 250–270 seconds. With roughly 70 seconds of preflight and 15 seconds for ci-gate, those lanes kept end-to-end PR CI well above five minutes.

Why This Change Was Made

Core oxlint now uses five deterministic GitHub-hosted stripes for both github and hybrid planner profiles; the Blacksmith routing added for these stripes in #123552 is removed while the measured wins for UI E2E, QA, test types, and extension boundaries remain intact.

The hosted Node planner refreshes core-tooling-1 from three healthy recent samples (299s, 305s, 311s; median 305s), lowers the direct hosted large/small packing budgets from 160/160 to 120/124 (the direct-hosted-hint equivalent of the requested 60/85 admission targets), and splits that former pole into two file-weighted stripes. The resulting push and PR-fallback plans remain within the existing 64-row hosted ceiling.

User Impact

No product behavior changes. Pull-request CI should approach a five-minute wall by bringing the tallest lint and compact Node lanes toward roughly 205–220 seconds while retaining the same test and lint coverage.

Evidence

Recent github/hybrid profile job durations:

Run lint-core-1 lint-core-2 lint-core-3 compact-small-26
31784022043 298s 356s 459s 361s
31784883914 345s 343s 338s 370s

Core lint is compute-flat between hosted 4-core and Blacksmith 8-vCPU runners. Five stripes therefore target ~340s × 3 / 5 ≈ 204s per stripe without spending Blacksmith registrations.

Planner output:

  • push: 55 descriptors (54 nondist + 1 dist), maximum predicted test time 209s
  • pull-request fallback: 64 descriptors (62 nondist + 2 dist), maximum predicted test time 209s

Validation:

  • node scripts/run-vitest.mjs test/scripts/ci-node-test-plan.test.ts — 24 passed
  • node scripts/run-vitest.mjs test/vitest-projects-config.test.ts — 21 passed
  • node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts — 119 passed, 2 skipped; only the documented dep-less topology fixture failed because its temporary checkout cannot resolve tsx (ERR_MODULE_NOT_FOUND)
  • node --import tsx scripts/check-workflows.mts — passed
  • node --import tsx scripts/run-oxlint-shards.mts --only=core --split-core --core-stripe 1/5 --threads=1 — passed
  • /Users/steipete/Projects/openclaw/node_modules/.bin/oxfmt --check <touched files> — passed
  • git diff --check — passed
  • Codex autoreview — clean, no accepted/actionable findings

@clawsweeper

clawsweeper Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 14, 2026 09:01
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: S maintainer Maintainer-authored PR labels Aug 14, 2026
@steipete
steipete merged commit 8865c25 into main Aug 14, 2026
214 checks passed
@steipete
steipete deleted the steipete/ci-shard-height branch August 14, 2026 09:11
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 15, 2026
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 scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant