Repository navigation
perf(ci): move the four path checks into filtered workflows - #4935
Conversation
Rule Pack Tests, Docs Site Build, Image Pins and Third-Party Image Scan tested their paths in a step, so each one took a runner on each push to a pull request. Each check now has a workflow of its own with the native on.pull_request.paths filter, so GitHub starts no runner for a pull request that changes none of its paths. Each job keeps its check name. Closes #4653
MeasurementsBefore (Actions API, the jobs of 94 PR runs of
The mean queue was 8.1 to 9.1 minutes. The jobs with no work used little runner time (25 runner-min in successful jobs), but each one took 1 of the 20 runner slots of the account, and waited in the queue for it. After (expected from the same window): a job starts only when the pull request changes a path of its filter, so 63 jobs of 376, or 0.67 for each run (from 4). The measurement over one day after the merge reads the same API. On this pull request the four workflows run once, because the pull request adds each workflow file and each filter names its own file. Checks run here
Owner stepsNone. The rules of Follow-up#4934: |
|
The four workflows ran on this pull request as workflows of their own, and each passed: Docs Site Build in 36 s, Rule Pack Tests in 73 s, Image Pins in 93 s and Third-Party Image Scan in 101 s (run created to run updated, Actions API). The |
🤖 I have created a release *beep* *boop* --- ## [0.116.2](v0.116.1...v0.116.2) (2026-11-12) ### Bug Fixes * **openspec:** list the gate commands in a dry run of check ([#4936](#4936)) ([cc19a87](cc19a87)) ### Performance Improvements * **ci:** move the four path checks into filtered workflows ([#4935](#4935)) ([ed84240](ed84240)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Rule Pack Tests, Docs Site Build, Image Pins and Third-Party Image Scan tested their paths in a step of
ci.yml. So each one took a runner on each push to a pull request, also when it had no work. Each check now has a workflow of its own (rule-pack.yml,docs-site.yml,image-pins.yml,third-party-image-scan.yml) with the nativeon.pull_request.pathsfilter. GitHub starts no runner for a pull request that changes none of the paths. Each job keeps its check name and its 5-minute limit.The paths are those of the old step filters, with the workflow file in place of
ci.yml. The step filters andpull-requests: readgo. The third-party scan stays report-only. None of the four is a required check, so a skipped workflow blocks no merge.Closes #4653
Change:
openspec/changes/archive/2026-11-12-4653-move-the-four-path-checks-into/