Skip to content

ci: four of the five gRPC package lanes run on pushes only - #1209

Merged
transfix merged 1 commit into
masterfrom
ci/grpc-lanes-on-push
Nov 13, 2026
Merged

transfix merged 1 commit into
masterfrom
ci/grpc-lanes-on-push

Conversation

@transfix

Copy link
Copy Markdown
Owner

Pull requests now skip four of the five gRPC package lanes. Master, v* tags and ci/full/** still run all five.

lane minutes on a PR push (#1181's run) PRs
package-linux / libcvc-debug-grpc 118 skipped
package-linux / libcvc-release-grpc-static 50 skipped
package-windows / libcvc-release-grpc 45 skipped
package-windows / libcvc-release-grpc-static 44 skipped
package-linux / libcvc-release-grpc 29 kept

That saves about 257 of the ~700 Linux and Windows minutes each push to a PR took. The account's 40 hosted jobs were its limit all day on 2026-11-12, and after #1205 that limit holds merges back about as much as macOS does.

Why release-grpc stays. It's the configuration publish-cvcpkg ships (gRPC and WebSocket on), and it's the lane that runs the writable-data scan (no singletons). The scan has to run on the shipped configuration, because the allowlist must match the build exactly. So the gRPC surface still builds, and the singleton scan still runs, on every PR.

How. A matrix's include entries can't be removed by an exclude. So each job's include is now JSON picked by github.event_name. The push lists are exactly master's (checked by parsing both versions), and the rest of each job is unchanged. This PR's own CI/CD run uses the new workflow, so it should show three package-linux lanes and one package-windows lane.

Branch protection no longer requires the four skipped lanes (24 required checks remain). That change is already in effect, so the PRs open now stop waiting on them too.

Trade-off. A break only these lanes catch, such as a debug-only gRPC assert, a static-link-only grpc problem or an MSVC-only gRPC issue, shows on master's run. To see one before merging, push the branch to ci/full/**.

This PR changes only ci.yml, keeping its CRLF line endings. It is independent of #1205 (package-macos), which edits another part of the file.

Pull requests drop package-linux / libcvc-debug-grpc (118 min) and
libcvc-release-grpc-static (50 min), and package-windows /
libcvc-release-grpc and libcvc-release-grpc-static (89 min between
them): about 257 of a PR push's ~700 Linux and Windows minutes, while
the account's 40 hosted jobs were its limit. Master, tags and
ci/full/** still run all of them.

package-linux / libcvc-release-grpc stays on every pull request: it is
the configuration publish-cvcpkg ships and the lane that runs the
writable-data scan, which must scan that configuration.

The matrices' include lists become JSON chosen by the event, since an
exclude cannot drop include entries; the push lists are master's.
@transfix
transfix enabled auto-merge (squash) November 13, 2026 01:55
@transfix
transfix merged commit f8c5069 into master Nov 13, 2026
28 of 29 checks passed
@transfix
transfix deleted the ci/grpc-lanes-on-push branch November 13, 2026 21:15
transfix added a commit that referenced this pull request Nov 14, 2026
…#1177, #1167) into perf/threaded-s1b

The one conflict is the sanitizers' SAN_CXX_TESTS list in ci.yml: this branch added
stream_test, net_ws_client_test and ariadne_host_test, and #1167 added skeleton_test. The
list keeps all four.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant