Skip to content

chore(ci): avoid product CI for tested repository tooling - #1648

Merged
shanselman merged 2 commits into
mainfrom
shanselman-add-tooling-only-ci-lane
Oct 6, 2026
Merged

shanselman merged 2 commits into
mainfrom
shanselman-add-tooling-only-ci-lane

Conversation

@shanselman

@shanselman shanselman commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Changes to two already-tested repository triage files previously selected the full product/release CI matrix despite not shipping product code.

User Impact

No product behavior changes. Qualifying PRs retain mandatory fast validation without selecting unrelated product/release jobs.

Integration and merge readiness

Scott published the workflow edit through GitHub in 312dff7cb421d0ca184967dacd839b702033eb10 (adding fast only to CI). Its delta from reviewed non-workflow commit 9c0cc59f00bb291cddcd8a54761b5bc3d9233f62 is exactly the one-line fast_only admission change. Workflow blob 84aa69ca377894b8313314d75e366ff51ffccafc exactly matches the locally validated combined tree. The agent did not publish workflow changes.

All exact-head checks passed, including CI Gate, core, tray/integration, UI/accessibility, all three E2E lanes, x64 release smoke, both MSIX architectures/bundle, and CodeQL. Build and Test run 37421505885 completed successfully for 312dff7c. This infrastructure PR correctly selected full; intentional tag-only/ARM64 release skips were accepted by the strict gate.

Scott authorized normal protected merge after these checks, releasing the earlier manual-merge reservation. Merge-tree against current main f03f1cab69aa9a4b25d01cc935b1c777985eab06 is conflict-free (c90ef317a65d0f09fd61df6fde142c1d65b415fb), preserving all three independently landed reliability/fixture changes, including their disjoint documentation additions. No force/admin bypass or branch-protection change.

Why This Change Was Made

Adds fast_only for only .github/scripts/repository-triage.cjs and .github/scripts/repository-triage.test.cjs, both exercised by the existing always-on Node suite. These implement repository reports/ownership maintenance, import Node built-ins, and have no product runtime/build dependency. Tooling is not mislabeled as documentation.

Mixed product changes preserve the union of product lanes. Unknown/build/workflow/project/dependency infrastructure remains full; invalid revisions and empty diffs fail closed; non-PR events include ARM64. WinNode skill core tests remain required. Mandatory fast-validation and proof-pool-contracts success, strict success/skipped lane results, release gates, and the proof-pool selector remain intact. Other scripts/actions/extensions are not allowlisted.

Evidence

Combined-tree source review by GPT-6 Astra and Claude Opus 5.5 found no actionable issues. CLI autoreview could not form its worktree bundle; the coordinator authorized app-native review instead. No host configuration changes or tool installs. ClawSweeper's current-head advisory review also found no remaining actionable defects; independently verified source and exact-head checks govern merge readiness.

Change Type

  • Tests or validation
  • Chore or infrastructure

Scope

  • Tests, CI, or docs

Required proof pools

  • none: repository CI routing/contracts only; no app, device, UI, packaging payload, or gateway runtime change. Proof-pool scheduling boundaries and malformed-contract regression remain enforced.

Validation

Local proof covered 9c0cc59f plus the exact workflow edit now published by Scott as 312dff7c, reproducing the reviewed/validated combined tree.

  • .\build.ps1: all projects passed.
  • Both Shared/Tray projects built first to initialize fresh test outputs.
  • dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 4,232 passed, 36 skipped, 0 failed.
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 3,899 passed, 0 skipped, 0 failed.
  • Tests used the worktree's OPENCLAW_REPO_ROOT and isolated OPENCLAW_TRAY_DATA_DIR; logs/TRX retained.
  • .\scripts\test-ci-change-classifier.ps1, .\scripts\test-ci-gate-results.ps1, .\scripts\test-ci-workflow-contract.ps1: passed exact-path exclusions, mixed permutations, real add/modify/delete/rename git diffs, invalid revisions, malformed/failed/cancelled/missing/skipped results, workflow admission, unconditional Node tests and mixed proof boundaries.
  • node --test .github\scripts\repository-triage.test.cjs .github\extensions\openclaw-triage-dashboard\triage-state.test.mjs: 48 passed, zero failures/skips.
  • .\scripts\validate-docs.ps1: 56 Markdown files, seven pools in both schema modes, passed.
  • .\scripts\test-proof-pool-validator.ps1: 75 invalid contracts rejected in three validation modes.
  • .\scripts\test-validate-docs-proof-pool-flow.ps1 and git diff --check: passed.
  • Agent initially published only six non-workflow files from a clean worktree. Scott subsequently integrated the workflow. No unaffected full-floor rerun was needed after verifying exact tree equality; current-head hosted CI passed.

Real Behavior Proof

Baseline b1a41be1 tooling-only: full, all PR product lanes and x64 release selected.
Changed tooling-only: fast_only, all product/release/full booleans false.
Tooling + CLI: targeted, core_tests=true, other outputs false.
Tooling + ci.yml: full, all PR product lanes and x64 release selected.
Non-PR tooling: full, every lane true including ARM64.
  • Environment: native Windows, isolated worktree; no live repository triage mutations.
  • Integrated workflow blob: 84aa69ca377894b8313314d75e366ff51ffccafc.
  • Validated workflow SHA-256: C30EA149DE6B770F91185DDDA8FB0504F0E27D5576AB7A3921E077E278C6756B.
  • Preserved patch SHA-256: 1E5B6D9E7E4F4E5DCFA6F21C4B85CC038E7DE7BE60DCF9EE46F71BC1A803BF36.
  • Evidence: direct command output, retained local logs/TRX, exact hashes and successful hosted run linked above.
  • Not verified: subsequent qualifying hosted fast_only run and measured speedup. No hosted speedup is claimed; this is not a merge blocker for the validated routing contract.

Security Impact

No new permissions, capabilities, credential handling, network calls, or data access. Existing mandatory checks and fail-closed boundary validation remain enforced.

Compatibility and Migration

Workflow admission is integrated by Scott. No product/config migration or broad CI changes.

Classify only the two tested repository-triage files as fast_only, preserve mixed product lanes and fail-closed gate/proof contracts. The workflow admission edit is intentionally excluded for maintainer web publication.

Co-authored-by: Copilot App <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 6, 2026
@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed October 6, 2026, 2:09 AM ET / 06:09 UTC (Revision 2).

ClawSweeper review

What this changes

Adds a fast-validation-only CI route for two tested repository triage files, with classifier, workflow, gate, regression-test, and coverage-documentation updates.

Merge readiness

✅ Ready for maintainer review

The earlier workflow-admission finding is fixed, and no remaining actionable defect was found. The change remains useful because current main still routes these tooling files through full product CI; ordinary required checks can govern landing.

Priority: P3
Reviewed head: 312dff7cb421d0ca184967dacd839b702033eb10

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with direct classifier proof and strong boundary regressions; the previous actionable blocker is resolved.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): Native Windows invocation exercises the production classifier with baseline, tooling-only, mixed product, mixed workflow, and non-PR inputs and records the expected after-change lane selections. The published workflow blob matches the identified validated tree, and exact-head fast validation passed. Hosted tooling-only speedup remains unmeasured; no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): Native Windows invocation exercises the production classifier with baseline, tooling-only, mixed product, mixed workflow, and non-PR inputs and records the expected after-change lane selections. The published workflow blob matches the identified validated tree, and exact-head fast validation passed. Hosted tooling-only speedup remains unmeasured; no stored-data contract changes.
Evidence reviewed 9 items Pinned introduced scope: The merge-base-to-head diff introduces seven CI, test, and documentation changes. Base-only audio and UI fixture changes are outside this PR's introduced delta.
Previous blocker resolved: Comparison against the previously reviewed head shows exactly the one-line workflow admission fix. The current workflow blob is 84aa69ca377894b8313314d75e366ff51ffccafc, matching the body’s identified validated tree.
Narrow routing and preserved gate: The classifier exempts only two case-sensitive tooling paths, preserves mixed product selections, and retains full validation for unknown infrastructure and non-PR events. The gate requires successful classification, fast validation, and proof-pool checks, and accepts fast_only only with every product lane disabled.
Findings None None.
Security None None.

How this fits together

The CI classifier turns changed repository paths into test and release job selections. Mandatory fast validation and proof-pool checks feed the final CI gate alongside the selected product jobs.

flowchart TD
  A[Changed paths and event] --> B[CI classifier]
  B --> C[Two tooling paths only]
  B --> D[Product or infrastructure changes]
  C --> E[Mandatory fast and proof checks]
  D --> F[Selected product and release jobs]
  E --> G[Final CI gate]
  F --> G
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
CI implementation versus regression coverage CI implementation +16/-2 lines; regression tests +225/-11 lines The small implementation increase supports a stated narrow routing exception with substantially broader boundary coverage.

Technical review

Best possible solution:

Keep the exact tooling allowlist and mandatory gate contracts while avoiding unrelated product jobs for qualifying PRs.

Do we have a high-confidence way to reproduce the issue?

Not applicable to a product bug; source confirms main selects full CI for these paths, and the supplied native classifier output demonstrates the changed routing.

Is this the best way to solve the issue?

Yes. Extending the existing classifier and gate with an exact tested-path exception is a narrow solution that preserves product-lane unions and fail-closed infrastructure handling.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f03f1cab69aa.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): Native Windows invocation exercises the production classifier with baseline, tooling-only, mixed product, mixed workflow, and non-PR inputs and records the expected after-change lane selections. The published workflow blob matches the identified validated tree, and exact-head fast validation passed. Hosted tooling-only speedup remains unmeasured; no stored-data contract changes.
  • remove merge-risk: 🚨 automation: Current PR review selected no merge-risk labels.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P3: This is a bounded CI efficiency improvement with no shipped product behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): Native Windows invocation exercises the production classifier with baseline, tooling-only, mixed product, mixed workflow, and non-PR inputs and records the expected after-change lane selections. The published workflow blob matches the identified validated tree, and exact-head fast validation passed. Hosted tooling-only speedup remains unmeasured; no stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. Native Windows invocation exercises the production classifier with baseline, tooling-only, mixed product, mixed workflow, and non-PR inputs and records the expected after-change lane selections. The published workflow blob matches the identified validated tree, and exact-head fast validation passed. Hosted tooling-only speedup remains unmeasured; no stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced scope: The merge-base-to-head diff introduces seven CI, test, and documentation changes. Base-only audio and UI fixture changes are outside this PR's introduced delta. (312dff7cb421)
  • Previous blocker resolved: Comparison against the previously reviewed head shows exactly the one-line workflow admission fix. The current workflow blob is 84aa69ca377894b8313314d75e366ff51ffccafc, matching the body’s identified validated tree. (.github/workflows/ci.yml:49, 312dff7cb421)
  • Narrow routing and preserved gate: The classifier exempts only two case-sensitive tooling paths, preserves mixed product selections, and retains full validation for unknown infrastructure and non-PR events. The gate requires successful classification, fast validation, and proof-pool checks, and accepts fast_only only with every product lane disabled. (scripts/Get-CiChangeClassification.ps1:314, 312dff7cb421)
  • Always-on tooling coverage: The existing unconditional fast-validation job runs the triage Node suite and all three CI contract scripts. Added regressions cover mixed-path ordering, exact-path exclusions, real git operations, invalid revisions, malformed gate results, and mixed proof boundaries. (.github/workflows/ci.yml:86, 312dff7cb421)
  • Still necessary on main and latest release: The fetched main classifier and the v2026.9.4 classifier lack the tooling exception; unrecognized triage paths select full validation. This is distinct work rather than an already implemented cleanup candidate. (scripts/Get-CiChangeClassification.ps1:303, f03f1cab69aa)
  • Native classifier proof and reported validation: The captured PR body reports native Windows baseline and changed classifier invocations: tooling-only becomes fast_only, tooling plus CLI retains core tests, tooling plus workflow stays full, and non-PR tooling includes ARM64. It also reports a successful full build, 4,232 shared tests passed with 36 skipped, 3,899 tray tests passed, and focused CI contracts passed. Hosted tooling-only timing remains explicitly unclaimed. This read-only review did not execute builds or tests. (312dff7cb421)

Likely related people:

  • shanselman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-06T05:49:28.453Z sha 9c0cc59 :: blocked before merge. :: [P2] Include fast_only in the workflow admission guard

@shanselman
shanselman marked this pull request as ready for review October 6, 2026 06:01
@shanselman shanselman added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 6, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 6, 2026
@shanselman
shanselman merged commit 04409b5 into main Oct 6, 2026
36 checks passed
@shanselman
shanselman deleted the shanselman-add-tooling-only-ci-lane branch October 6, 2026 06:21
@shanselman shanselman removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant