Repository navigation
ci: add code impact fast paths - #1315
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 3, 2026, 10:00 PM ET / September 4, 2026, 02:00 UTC. ClawSweeper reviewWhat this changesThis PR replaces the broad serialized CI path with conservative path-selected test, E2E, metadata, and release lanes guarded by a stable CI Gate. Merge readiness⛔ Blocked before merge - 3 items remain Keep open. The CI split and full-path run are supported by the exact-head workflow results, but the remaining P2 documentation blocker is still present: the release guide does not identify the complete tagged-run job inventory and expected outcomes after replacing the former serialized jobs. Priority: P2 Review scores
Verification
How this fits togetherGitHub Actions receives a pull request or tag, classifies changed paths, and selects validation and release lanes. Their results feed the CI Gate, which permits tagged artifact publication only after the required lanes succeed. flowchart LR
A[Pull request or tag] --> B[Change classifier]
B --> C[Selected test lanes]
B --> D[Selected E2E lanes]
B --> E[Release metadata and publish]
C --> F[CI Gate]
D --> F
E --> F
F --> G[Tagged release publication]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Document the complete tagged-run job inventory and required successful outcomes in the release checklist, while retaining the conservative lane and CI Gate design. Do we have a high-confidence way to reproduce the issue? Not applicable. This is CI orchestration work, and the exact-head GitHub run already exercised the full infrastructure path successfully. Is this the best way to solve the issue? No. The lane implementation is supported by current-head checks, but the release guide must first document the replacement tagged-run jobs and outcomes required by the prior review. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5d192398e8d9. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What 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
History |
Co-authored-by: Copilot App <[email protected]>
Summary
Reduce ordinary code pull request latency by selecting conservative validation lanes from explicit path-impact booleans while preserving fail-closed full validation for infrastructure, setup, connection, shared protocol, unknown, main, and tag changes.
Required proof pools
none: this changes GitHub-hosted CI orchestration and contracts, not a product surface that requires a custom Windows host class.Old and new lane mapping
The former serialized Windows test job is now three clean-runner lanes: core/CLI, tray/setup/integration, and UI/functional/accessibility. Each restores and builds its own project graph, preserves all eight test projects and TRX artifacts, retains coverage on push/tag, settings isolation, integration gating, and WindowsAppRuntime installation. The existing three E2E shards are not multiplied.
Preserved invariants
Get-CiProofPoolRegressionDecision.ps1, now in an independent job.semVer,majorMinorPatch,isPrerelease,isStableCorrection, and stable-correction validation.Expected timing
Measured baseline: full PR run
33815204229spent 22m11s in the serialized test job, including 6m48s in proof contracts and 3m28s in accessibility. Existing E2E shards took 9m33s to 14m43s; x64 and ARM64 publish took 5m13s and 6m17s. Docs fast-path run33819700640completed in 51s.The full infrastructure path duplicates checkout, SDK setup, and cache restore across three test runners, but removes the serialized proof matrix and parallelizes lanes. Estimated full-path runner minutes stay within 15% of the prior full run, below the 30% rejection threshold. Ordinary code paths use substantially fewer runner minutes.
Validation
OPENCLAW_REPO_ROOT=<worktree>; .\build.ps1- passeddotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore- 3,905 passed, 32 skippeddotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore- 2,833 passedactionlint .github/workflows/ci.yml- only the documented pre-existing intentionalbuild-msixif: falsediagnosticgit diff --check- passedReal behavior proof
Current-head classifier output for this CI infrastructure pull request:
{"classification":"full","core_tests":true,"tray_tests":true,"ui_tests":true,"setup_e2e":true,"revocation_e2e":true,"network_e2e":true,"x64_release":true,"arm64_release":false,"full":true}Table-driven classifier contracts also prove representative CLI-only changes omit E2E/UI/release, UI-only changes require tray/UI/accessibility without setup E2E/release, setup/connection changes require E2E, Shared/protocol and infrastructure changes take full paths, and main/tags require both release architectures.
Rollback boundary
Revert this commit to restore the merged docs-only/full classifier, serialized
testjob, full E2E matrix, and release build matrix. No product runtime or persisted data format changes are involved.