Skip to content

ci: run the Rust compile jobs on larger runners - #5850

Draft
matthewgrossman wants to merge 2 commits into
mainfrom
ci/5849-cncf-larger-runners/matthewgrossman
Draft

matthewgrossman wants to merge 2 commits into
mainfrom
ci/5849-cncf-larger-runners/matthewgrossman

Conversation

@matthewgrossman

@matthewgrossman matthewgrossman commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary

Run the x86_64 Linux Rust compile jobs on the larger ubuntu-latest-8-cores runner, 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 billed macos-15-xlarge until 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 on ubuntu-latest-8-cores. Fork PRs get ubuntu-24.04. Their macOS rows get macos-15 for fork PRs and stay on macos-15-xlarge otherwise.
  • branch-e2e.yml: the Linux binary builds do the same. The macOS binary and VM driver builds use macos-15 for 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_X64 overrides the x86_64 runner; set it to ubuntu-24.04 to switch back without a PR. LARGE_RUNNER_LINUX_ARM64 moves the aarch64 jobs off ubuntu-24.04-arm once 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

  • actionlint and zizmor --min-severity high pass on the changed workflows and on the release workflows that call the reusable ones.
  • This PR's own Branch Checks and Branch E2E runs use ubuntu-latest-8-cores. I'll compare their times in ci: run the Rust compile jobs on larger runners #5849.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 20, 2026
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
matthewgrossman force-pushed the ci/5849-cncf-larger-runners/matthewgrossman branch from d80ba13 to 0a78a5a Compare November 20, 2026 20:23
@matthewgrossman matthewgrossman changed the title ci: run the Rust compile jobs on the CNCF larger runners ci: run the Rust compile jobs on larger runners Nov 20, 2026
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>
@matthewgrossman matthewgrossman added the test:e2e Requires end-to-end coverage label Nov 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: run the Rust compile jobs on larger runners

1 participant