Repository navigation
ci: widen hybrid Blacksmith routing for plateau lanes - #123552
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 14, 2026, 4:33 AM ET / 08:33 UTC. ClawSweeper reviewWhat this changesThe PR sends selected first-attempt hybrid CI plateau lanes to Blacksmith runners while preserving hosted routing for GitHub mode, retries, manual dispatches, forks, and remaining light lanes. Merge readinessThis PR is still necessary: current main retains the earlier hybrid hosted-routing policy, while the proposed head selectively restores first-attempt Blacksmith capacity. No patch defect was found; merge should wait for exact-head CI and a live registration-budget check. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw's CI workflow selects a runner from the backend mode, event, retry attempt, repository origin, and matrix row. The selected runner executes validation lanes and reports their results back to pull requests and main. flowchart LR
A[PR or main event] --> B[CI preflight]
B --> C[Backend and matrix policy]
C --> D{Hybrid first attempt?}
D --> E[Blacksmith plateau lanes]
D --> F[GitHub-hosted fallback lanes]
E --> G[CI checks]
F --> G
G --> H[GitHub results]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +103, Docs 0, Config +2. Total +105 across 3 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the focused routing policy once exact-head CI is green and the live Blacksmith registration budget confirms headroom for the additional 20-job first wave. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a CI-routing improvement rather than a reported runtime defect; expression guards and the exact-head workflow run are the relevant verification paths. Is this the best way to solve the issue? Yes. The workflow is the owner of runner placement, and the diff updates its documented contract and focused routing guards without adding a parallel mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2f85e5e33d85. LabelsLabel 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 (1 earlier review cycle)
|
c2f165f to
01d39da
Compare
What Problem This Solves
Hybrid CI still sent several 300-340 second critical-path lanes to standard 4-core GitHub-hosted runners on attempt 1. In main run 31779933715, core lint stripes, test types, the six-way QA Smoke matrix, the eight-way UI E2E matrix, the extension package-boundary check, and the remaining lint row formed the hosted plateau that kept full CI above the five-minute target.
Why This Change Was Made
This widens hybrid attempt-1 Blacksmith routing only for those measured plateau lanes while preserving GitHub-hosted routing for
githubmode, hybrid retries, manual dispatches, forks, and non-canonical repositories. It keeps the hybrid planner matrices and backend-neutral Actions cache profile unchanged.The runner sizes restore the pre-outage assignments from the parent of #123263 (
9550d6f9628472e83f6852dae8c1ac3f79573556):check-test-typesblacksmith-16vcpu-ubuntu-2404check-lintblacksmith-32vcpu-ubuntu-2404check-lint-core-{1,2,3}blacksmith-8vcpu-ubuntu-2404checks-ui-e2e(8 rows)blacksmith-8vcpu-ubuntu-2404QA Smoke CI(6 rows)blacksmith-16vcpu-ubuntu-2404check-additional-extension-package-boundaryblacksmith-32vcpu-ubuntu-2404User Impact
Maintainers should see the current hybrid critical path move off 4-core hosted runners on first attempts, bringing pull-request and main CI wall time closer to five minutes. Product behavior is unchanged, and rerunning a failed or stuck selected lane still moves it to GitHub-hosted capacity.
Registration budget impact is 20 concrete added Blacksmith jobs per full attempt-1 run, budgeted conservatively as approximately 21: 8 UI E2E + 6 QA Smoke + 3 core lint + 3 singleton checks. That is 0.21% of the live 10,000-registration five-minute bucket and 0.35% of the 6,000-registration operating target. Even four overlapping full admission waves add only 84 registrations, or 0.84% of the bucket and 1.4% of the operating target.
Evidence
node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts: 119 passed, 2 skipped, and 1 pre-existing dep-less-worktree environment failure. The failingresolves topology-aware protocol bases and drives the real guardfixture cannot resolvetsx; the coordinator verified the identical failure on a clean baseline. Exact-head CI with installed dependencies is the authoritative gate.node scripts/run-vitest.mjs test/vitest-projects-config.test.ts: 21 passed.node --import tsx scripts/check-workflows.mts: passed, including zizmor and the composite interpolation guard./Users/steipete/Projects/openclaw/node_modules/.bin/oxfmt --check .github/workflows/ci.yml docs/ci.md test/scripts/ci-workflow-guards.test.ts: passed.git diff --check: passed.