ci: run each suite for what can affect it; merges no longer repeat the pull request's run #332
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/lean-triggers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The owner asked to remove CI bottlenecks. The Linux arm64 runner (3 jobs at a time) carried about 100 queued runs, most of them for suites that a pull request's diff could not affect, and every merge to main re-ran what its pull request had already run.
What changes
Merges no longer repeat the pull request's run. 27 workflows lose their push-to-main trigger and gain a nightly schedule, staggered between 04:00 and 08:59 UTC. A nightly run has no pull-request context, so every gate answers
trueand the full suite runs. That is the backstop for two pull requests that each passed but break together.repo-checkskeeps its push trigger, because one of its steps runs only on a push. Workflows that already had a weekly schedule now run nightly.standards-build's comments are updated to match.Shared files no longer fire heavy suites.
wai-http,wai-jpegai-e2e,wai-neural-gates,wai-pack,wai-quantum-webgpu,wai-sota-vectors,wai-web-reachandwai-web-wasmdropwai/wai-rs/Cargo.toml,wai/wai-rs/src/lib.rs,wai/registry/**andwai/registry/capabilities.jsonfrom their paths. Every new feature or capability touches those files.wai/wai-rs/Cargo.lockstays, so a dependency change still runs them.wai-conformancekeeps its registry trigger, because it checks the registry.wai-http's falsify shards (about 1.5 hours of arm64 time) now gate on their own output,falsify. It is true when the pull request's diff touches one of these:http-conformance/falsify/modify:http_binding/**,container.rs,sig.rs,jwp_hash.rs,jwp_delivery.rs,hls_render.rs,wai_video_manifest.rs, andbin/wai_cli/http*;bin/wai_http_vectors.rs;It is also true nightly, and whenever the diff cannot be read, so it fails open. Other changes on
wai-http's list still run its corpus jobs.Trade-off
Before, a break that appears only when two separately green pull requests combine on main showed right after the merge. Now it shows in the next nightly run.
Checks
check-workflow-concurrency.sh,pr-touches-paths-selftest.sh,check-tests-in-ci.pyandcheck-orphan-sources.pyall pass;falsefor a live-rooms or registry change andtrueforsig.rs.🤖 Generated with Claude Code