Repository navigation
chore(ci): measure earlier test starts without weakening CI Gate - #1984
shanselman wants to merge 1 commit into
Conversation
Preserve classifier admission and all final CI Gate requirements. Measurement-only arm; no runtime or proof-pool changes. Co-authored-by: Copilot App <[email protected]>
|
🦞👀 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. What this changesThis PR lets six selected CI test jobs overlap fast validation while preserving final CI Gate requirements. Example: A workflow change selects Core, Tray, UI, setup, revocation, and network tests.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored measurement draft open and honor its explicit do-not-merge instruction; the focused scheduling change has no identified correctness defect, but its performance value remains unmeasured. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe GitHub Actions workflow turns classified changes into selected Windows validation jobs and aggregates their results into the required CI Gate. flowchart TD
A[Repository change] --> B[Change classification]
A --> C[Fast validation]
B --> D[Six selected test lanes]
B --> E[Other required lanes]
C --> F[CI Gate]
D --> F
E --> F
Technical reviewBest possible solution: Retain the six focused scheduling edits as a draft until the planned hosted comparison establishes whether they improve total PR time-to-green. Do we have a high-confidence way to reproduce the issue? This is a performance experiment rather than a reported product bug; source verifies the existing serialization, and hosted job metadata verifies the proposed overlap. Is this the best way to solve the issue? The diff is the smallest complete scheduling change using the existing workflow and gate owners, although only the planned comparison can establish its performance benefit. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6e835ec88119. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 2, 2026, 11:16 PM ET / November 3, 2026, 04:16 UTC. |
|
Closing this CI measurement draft. Its findings were captured (the reconnect-race fix landed in #1986). Closed by a Copilot triage agent, not Scott. |
What Problem This Solves
Draft measurement arm: test whether overlapping selected CI test jobs with fast validation shortens full PR time-to-green. Do not merge.
User Impact
No product-visible change. All selected tests, proof checks, and CI Gate requirements stay mandatory. Earlier allocation may increase runner contention or waste work on failed fast validation.
Why This Change Was Made
Only the Core, Tray, UI, setup, revocation, and network job headers stop waiting for fast validation. Classification, selected-lane admission, and cancellation guards remain. CI Gate still waits for and requires fast-validation success. The hypothesis is at least one minute of improvement; no improvement has been measured.
Evidence
The scheduling regression rejected the original serialization and accepts all six changed headers. Existing classifier, test-inventory, artifact, fail-closed gate, and proof-routing contracts remain intact. No proof-pool-owned lines changed; textual compatibility was checked against #1886 (fix(ci): avoid Windows allocation for unneeded proof contracts), the separate proof-allocation arm.
Historical motivation only: prior-main run had 5m19s between classification completion and fast-validation completion, but several jobs queued for hours. This is not treatment evidence. The pilot uses rolling current-main snapshots without a main freeze, accepts weaker causal evidence, and separates queue time from execution time. Full PR time-to-green remains primary; no win or merge claim.
Change Type
Scope
winnodeRequired proof pools
none: scheduling-only arm; existing hosted test/proof lanes remain unchanged. Hosted full PR-path measurement is required, not a new custom runtime pool.Validation
Refreshed snapshot: base
6e835ec88119fcaa59af7b460a424837c362659c, head35f1d1faabb0ba861fe7538cba0a0a03d5fbb938. Local source association is manually recorded; exact patch and fresh TRX remain in session artifacts. Commit contains the unchanged tested three-file tree..\build.ps1: passed all five projects, Debug/win-x64, including documentation validation.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 4,810 passed/executed, 24 ordinary opt-in skips, 0 failures; 4,834 total, 2m35s. Fresh TRX recorded with--logger "trx;LogFileName=rolling-Shared.trx" --results-directory "<session-artifacts>\rolling-results".dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 4,788 passed/executed, 0 skips/failures, 1m59s. Fresh TRX recorded with--logger "trx;LogFileName=rolling-Tray.trx" --results-directory "<session-artifacts>\rolling-results". Tray data isolated; inherited runtime opt-ins cleared..\scripts\test-ci-workflow-contract.ps1: passed six scheduling guards and existing contracts; nested E2E hang-guard proof executed 5 cases plus real-process output-idle proofs..\scripts\test-ci-change-classifier.ps1: passed executable exact-tooling, mixed-path, real-git and malformed-diff regressions..\scripts\test-ci-gate-results.ps1: passed executable required-success, intentional-skip and failure/cancellation/malformed-result matrix.git diff --check: passed.Eight additional full PR/push fixtures rejected failure/cancelled/skipped/unknown fast-validation results while all selected lanes succeeded. Direct scope/simplification review retained only six production header edits and their focused regression/documentation; no new owner or abstraction was needed. Independent source/rubber-duck review not performed; this is a scheduling-only measurement draft, not setup or product behavior.
Real Behavior Proof
35f1d1faabb0ba861fe7538cba0a0a03d5fbb938; actual PR checkout merge/base SHA will be recorded separately..\scripts\test-ci-workflow-contract.ps1, classifier and gate regression scripts.CI workflow contracts passedandCI Gate regressions passed; these are executable static/fixture contracts, not hosted scheduler proof.Yes/No/N/A): N/A, no visual claim.Security Impact
Yes/No): NoYes/No): NoYes/No): NoYes/No): NoYes/No): NoYes, explain the risk and mitigation: N/ACompatibility and Migration
Yes/No): YesYes/No): NoYes/No): NoReview Conversations