Repository navigation
ci: run the Rust compile jobs on larger runners - #5850
Draft
matthewgrossman wants to merge 2 commits into
Draft
matthewgrossman wants to merge 2 commits into
matthewgrossman wants to merge 2 commits into
Conversation
Select the runner for the Linux Rust compile jobs in Branch Checks, Branch E2E and Rust Cache with the LARGE_RUNNER_LINUX_X64 and LARGE_RUNNER_LINUX_ARM64 repository variables, falling back to the standard GitHub-hosted runners. Larger runners are billed per minute, so PRs from forks keep the standard runners. The reusable Linux binary and VM driver builds take the runner as an input, so release builds keep the standard runners too. Closes #5849 Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
matthewgrossman
force-pushed
the
ci/5849-cncf-larger-runners/matthewgrossman
branch
from
November 20, 2026 20:23
d80ba13 to
0a78a5a
Compare
Run the x86_64 Rust compile jobs on ubuntu-latest-8-cores, which LARGE_RUNNER_LINUX_X64 can override. Larger runners are billed per minute, so fork PRs fall back to the free standard runners for these jobs and for the macOS jobs that use macos-15-xlarge. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Run the x86_64 Linux Rust compile jobs on the larger
ubuntu-latest-8-coresrunner, and keep PRs from forks off every billed runner. Fork PRs use the free standard runners, including for the macOS jobs that ran on the billedmacos-15-xlargeuntil now.Related Issue
Closes #5849
Changes
branch-checks.yml: Rust lint, test and build modes, plus the PostgreSQL, feature alias and gateway feature jobs, run x86_64 onubuntu-latest-8-cores. Fork PRs getubuntu-24.04. Their macOS rows getmacos-15for fork PRs and stay onmacos-15-xlargeotherwise.branch-e2e.yml: the Linux binary builds do the same. The macOS binary and VM driver builds usemacos-15for fork PRs.build-binaries-linux.yml,build-vm-driver-linux.yml,build-binaries-macos.yml,build-vm-driver-macos.yml: take the runner as an input whose default is today's runner. Only Branch E2E passes it, so release builds keep their runners.rust-cache.yml: the main-branch cache jobs use the same x86_64 runner, so the cache is warmed on the same machine type.LARGE_RUNNER_LINUX_X64overrides the x86_64 runner; set it toubuntu-24.04to switch back without a PR.LARGE_RUNNER_LINUX_ARM64moves the aarch64 jobs offubuntu-24.04-armonce there is an arm64 larger runner.CI.md: documents the runners and the fork rule.Fork detection uses
github.event.pull_request.head.repo.fork. Pushes, merge groups and dispatches have no pull request, so they count as non-fork. E2E suite rows and the light jobs are unchanged. Job names don't change, so the required status contexts don't either.Testing
actionlintandzizmor --min-severity highpass on the changed workflows and on the release workflows that call the reusable ones.ubuntu-latest-8-cores. I'll compare their times in ci: run the Rust compile jobs on larger runners #5849.Checklist