Skip to content

fix(ci): share setup for central scripts lint - #170669

Merged
vincentkoc merged 2 commits into
mainfrom
fix/ci-format-only-checks-oct13
Oct 13, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/ci-format-only-checks-oct13

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Full hybrid PR checks allocate a separate 16-class runner for formatting and scripts lint even when an existing core-lint runner can execute the same work sequentially.

User Impact

No product behavior changes. Eligible plans remove one CI job, checkout, and dependency setup. Coverage, runners, worker limits, and the 15-minute core-lint deadline stay unchanged. UI, root-test, wrapper guards, targeted core rows, other runner profiles, and plans requiring the last central check row retain their existing allocation.

Why This Change Was Made

Move the unchanged central selection onto core lint stripe 1 only when the complete command plan contains formatting and scripts lint. The shared step still runs after core lint fails and propagates its own failure. Keep another central check row so existing gate admission remains intact.

Evidence

Blacksmith and GitHub observations from run 38317345868: core lint stripe 1 completed in 182 seconds; separate central lint took 87 seconds, including 49 seconds of checkout/setup and 32 seconds of checks. These observations identify avoidable setup; they are not a measured post-change saving.

Focused planner and workflow regression tests: 20 passed, 4.54 seconds overall. The new admission cases fail on the original planner for the retained duplicate row. Targeted lint, scripts and all four root-test type partitions, workflow validation, TypeScript erasability, formatting and diff checks passed. Independent P2 reviews found no actionable issues.

The first CI run exposed a stale manifest fixture export. The fixture now re-exports the canonical changed-check planner and lane detector; all seven affected integration cases and all 605 planning tests pass. Exact-head CI run 38352701238 and the required gate passed for 574644d913f4601d5eb32947b7a9bb39fae94232.

Local capacity qualification completed both core stripes plus central formatting/scripts lint in 436.93 seconds on four available CPUs with a 15-GiB memory cap, 10.76-GiB peak usage, and zero OOM events. It used the existing GitHub Actions lint policy; the initial local-only replay stopped on pre-existing file-length limits. This is workload-capacity evidence, not a measured Blacksmith billing saving.

@vincentkoc vincentkoc self-assigned this Oct 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: S labels Oct 13, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 13, 2026 05:24
@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@vincentkoc
vincentkoc merged commit f9f5dcb into main Oct 13, 2026
141 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-format-only-checks-oct13 branch October 13, 2026 05:56
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
* fix(ci): share setup for central scripts lint

* fix(test): use canonical planners in CI manifest fixture

Co-authored-by: Vincent Koc <[email protected]>
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 scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant