Repository navigation
fix(ci): keep extension boundary checks off hosted overflow - #162289
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. Reviewed September 30, 2026, 11:40 PM ET / October 1, 2026, 03:40 UTC (Revision 2). ClawSweeper reviewWhat this changesKeep extension package-boundary CI checks on Blacksmith during optional hosted overflow and adjust hosted-row reporting, regression coverage, and documentation. Merge readiness✅ Ready for maintainer review The PR remains useful: current main still permits the slow hosted boundary offload. The pinned patch preserves admission thresholds and fallback routes, and no actionable correctness or security defect was found. Priority: P2 Review scores
Verification
How this fits togetherCI preflight builds a job manifest from repository changes, runner settings, and hosted-capacity evidence. The workflow consumes that manifest to place checks on Blacksmith or GitHub-hosted runners. flowchart TD
A[Repository changes] --> C[CI preflight planner]
B[Runner settings and hosted health] --> C
C --> D[Admission budget]
D --> E[Workflow runner selection]
E --> F[Boundary checks on Blacksmith]
E --> G[Hosted checks and fallback routes]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +22, Docs +5, Config 0, Other +7. Total +34 across 7 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Use the existing Blacksmith boundary route while retaining conservative hosted admission and explicit hosted recovery paths. Do we have a high-confidence way to reproduce the issue? Yes: current-main source explicitly routes the boundary row to hosted Ubuntu when optional check overflow is admitted; the body identifies a real slow run. This review did not execute a reproduction. Is this the best way to solve the issue? Yes: changing the existing runner decision avoids the observed cold-build path without creating another planner, weakening checks, or expanding admission. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7e43f459ced3. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
…#162289) Keep the extension package-boundary check on Blacksmith during optional hybrid/runson hosted overflow. Hosted boundary jobs could not restore the self-hosted compiled-declaration archives (restore key includes runner.environment) and took 22-23 minutes; 2 of 25 boundary jobs in a 40-run census ran hosted. Explicit GitHub overrides, retry/manual/trust fallbacks, compiler checks, canary, deadlines and concurrency are unchanged. Merged past one inherited red: checks-windows-node-test-3 src/infra/package-update-swap.windows.test.ts "preserves the package after persistent EPERM on linux (retries=false)" came from 1b0ec4c (openclaw#162231), is red on main in hourly 36811800156, and is fixed on main by 74ffe77 (openclaw#162352). This PR touches no Windows or updater code.
What Problem This Solves
Extension package-boundary checks took 22–23 minutes when optional hybrid overflow assigned them to GitHub-hosted runners, including run 36788068306.
User Impact
Developers avoid this optional hosted cold-build path. Product behavior is unchanged. Every boundary check and the explicit GitHub override, retry, manual and trust fallback routes remain intact. Cold Blacksmith runs still took 6:37–7:23 in the sampled jobs; this change does not establish the four-minute target.
Why This Change Was Made
Compiled archives use separate runner namespaces and contain checkout-specific paths and links. Keep this row on its existing Blacksmith route instead of assuming cross-runner reuse. Preserve the previous admission reservation so other jobs keep their routing thresholds, and report the actual hosted row count. This adds no jobs, matrix rows, permissions or compiler concurrency; ci.yml shrinks by 58 bytes.
Evidence
No GitHub workflow was dispatched or rerun for proof. Post-landing job timings remain to be measured on natural PR runs.