Repository navigation
Open
Description
What needs tracking?
scripts/ci-changes.mjs and .github/workflows/ci.yml currently trigger unnecessary builds, tie lightweight checks to the contended macOS runner pool, and run dead or over-broad steps:
- Unmatched non-code paths fall through to every check group (including
eval,execution,windows, andweb). Editing.agents/skills/**,skills/**,.github/ISSUE_TEMPLATE/**, or.github/pull_request_template.mdtriggers a full workspace build and test run — e.g. PR docs(release): define provider catalog sync acceptance #1895 (run44676046075) queued 40 min and ran 27 min (including 4m43s ofxtask/eval-tests) for doc/skill markdown edits. dependencies(cargo-deny) runs on every Rust change (needs.changes.outputs.rust == 'true'), even when noCargo.toml,Cargo.lock,deny.toml, orLICENSEchanged and the dependency graph is identical.scripts/changes unconditionally triggerweband run inside the macOSverifyjob. Only web-packaging scripts (such asscripts/stage-web.mjs) affect the Web workspace, andnode --test scripts/*.test.mjsdoes not need a macOS runner.changesandci-okuseruns-on: self-hostedwithout OS labels, so they occasionally claim scarce macOS runners instead of idle Linux runners.pushtomainskips only 100% pure-documentation pushes, forcing full Rustverify,windows-cli,dependencies, andacp-registryruns even on Web-only merges (e.g. chat-ui: copy through host.commands.copy when a host is provided #1922 run44686585950, which also cancelled the prior Rustmainrun44685591901). Paired with ci: let every main push finish its checks #1920 (no mutual cancellation onmain), routingmainpushes by changed paths plus a scheduled full sweep avoids saturating runners on non-Rust merges.- Dead and redundant steps inside
verify:node scripts/run-rust-test.mjs target/test-artifacts.jsonl migration_flow node_ --ignored --test-threads=2matches 0 tests.- Step 9 (
Verify actual CLI profiles and line-mode flows) runs threenpm ci/npm installcommands againstregistry.npmjs.org(~15s) on everyrustrun even whennode == 'false', without--no-audit --no-fund.
Refs #1919.
References or acceptance criteria
- Classify
.agents/**,skills/**,.github/ISSUE_TEMPLATE/**, and.github/pull_request_template.mdinscripts/ci-changes.mjsso they do not trigger build/test groups. - Trigger
dependenciesonly whenCargo.toml,**/Cargo.toml,Cargo.lock,deny.toml, orLICENSEchange (plus full scheduled / manual runs). - Run
scriptschecks in a dedicated[self-hosted, linux, x64]job, and triggerwebfromscripts/only for web-packaging scripts. - Pin
changesandci-okto[self-hosted, linux, x64]. - Apply path-based group selection on
mainpushes (with a periodic full scheduled run for cross-cutting safety). - Remove the 0-test
migration_flow node_step, avoid unnecessarynpm ciwhen Node plugins are not exercised, and pass--no-audit --no-fund. - Update
scripts/ci-changes.test.mjsanddocs/release/README.mdto match.
Activity
ci: tighten path routing, isolate scripts job, schedule daily sweep, …
ci: tighten path routing, isolate scripts job, add daily sweep, and r…