Repository navigation
improve: split hosted Windows CI into three lanes - #123577
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 14, 2026, 5:36 AM ET / 09:36 UTC. ClawSweeper reviewWhat this changesThe PR splits the GitHub-hosted and hybrid Windows CI test inventory into three explicit lanes while leaving the Blacksmith Windows path combined. Merge readinessKeep open. The prior package-script contract blocker is fixed, and the branch coherently adds a third hosted Windows lane while retaining the single Blacksmith lane; await the in-progress exact-head Windows jobs before merge. Priority: P3 Review scores
Verification
How this fits togetherCI preflight chooses a Windows job matrix, whose jobs dispatch named package scripts containing explicit Windows test targets. Those jobs determine Windows coverage and the CI critical-path tail. flowchart LR
A[Runner profile] --> B[Preflight Windows matrix]
B --> C[Hosted Windows jobs]
C --> D[Windows package scripts]
D --> E[Explicit test projects]
E --> F[Coverage and CI tail]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +11, Docs 0, Config +4. Total +15 across 6 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge after the exact-head hosted Windows matrix passes and confirms the three lanes retain coverage while reducing the Windows tail; keep the single Blacksmith aggregate path unchanged. Do we have a high-confidence way to reproduce the issue? Not applicable: this is CI capacity tuning rather than a user-reported product failure; source inspection establishes the existing two-lane and proposed three-lane paths. Is this the best way to solve the issue? Yes. The preflight matrix and its Windows task dispatcher are the canonical owner boundary, and explicit lists retain the existing target-selection model without changing the Blacksmith path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 655724a72779. 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)
|
* ci: split Windows tests into three lanes * test: cover three-way Windows CI partition
What Problem This Solves
The two hosted Windows test lanes are now a CI critical-path tail. In CI run 31786359048,
checks-windows-node-test-1took 308 seconds end to end andchecks-windows-node-test-2took 384 seconds, above the approximately 260-second lane target.Why This Change Was Made
This splits only the GitHub-hosted and hybrid Windows profile from two explicit project-aligned test lists into three. The single Blacksmith Windows job, runner-selection expressions, backend routing, and total Windows test inventory stay unchanged.
The lists are packed from the measured project durations in the cited run. Lane 1 carries the heavy state-ownership and session-archive projects plus command/shared/tooling tests (19 files, about 147 seconds of measured Vitest project time). Lane 2 isolates the heavy SQLite snapshot project with agents-tools and memory-core (15 files, about 137 seconds). Lane 3 contains the remaining smaller projects (31 files, about 122 seconds); its larger project count adds more per-project process startup, balancing the lower reported Vitest total. The two SQLite-heavy projects and the 41-second state-ownership project no longer share a lane.
User Impact
There is no product-runtime behavior change. Maintainers should see a shorter hosted Windows CI tail while retaining exactly the same Windows-specific test coverage. The Blacksmith-first path remains one combined job.
Evidence
Before, in run 31786359048:
checks-windows-node-test-1: 308 seconds end to end; 222-second test step.checks-windows-node-test-2: 384 seconds end to end; 248-second test step.Exact inventory comparison against base
8865c2539b19907e7fb7b38b912b836755c1882d:Validation:
node --import tsx scripts/check-workflows.mts— passed Zizmor and composite-run interpolation checks.node_modules/.bin/oxfmt --check package.json .github/workflows/ci.yml test/scripts/ci-workflow-guards.test.ts docs/ci.md .agents/skills/openclaw-ci-limits/SKILL.md— passed using the main checkout's installed formatter.git diff --check— passed.node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts— 119 passed, 2 skipped; the sole failure is the known dep-less topology fixture artifact attest/scripts/ci-workflow-guards.test.ts:7019, where its temporary checkout cannot resolvetsx(ERR_MODULE_NOT_FOUND). The changed Windows topology assertions passed..agents/skills/autoreview/scripts/autoreview --mode uncommitted— clean; no accepted/actionable findings.AI-assisted: yes. The change and evidence were reviewed and understood.