Repository navigation
ci: move several jobs to ubuntu-slim runner - #11774
Merged
Merged
Conversation
The suite selector gates every other CI job, so it previously waited in the saturated ubuntu-latest queue before any suite could start. Run it and the short lint jobs (cargo fmt, cargo-shear, audit, typos) plus the docs deploy on ubuntu-slim, which ASF Infra recommends for small, short jobs. ubuntu-slim has no Docker engine or Rust toolchain, so cargo fmt and cargo-shear drop the amd64/rust container and install rustup with the toolchain from rust-toolchain.toml through a new setup-rustup action. The audit job calls the cargo-audit binary directly.
Contributor
|
We had an issue for this before, and did a first pass: #9536 is there something long-term we should add to CI docs to remind folks to put new jobs on |
Contributor
Author
|
@mbutrovich I added a note to |
Contributor
|
I'm not sure if anything that uses the |
Contributor
|
Sorry @neilconway and @mbutrovich -- I independently discovered this: |
alamb
reviewed
Oct 22, 2026
Contributor
This was linked from the original arrow-rs issue I filed: #9536 |
# Conflicts: # .github/workflows/README.md
RAT runs on every pull request and takes about 15 seconds, but it queues for an ubuntu-latest runner first. ubuntu-slim has no Java, so install JDK 17 with setup-java, pinned to the same version as parquet.yml. The release job only calls `gh release create`, and ubuntu-slim includes the GitHub CLI.
neilconway
marked this pull request as ready for review
October 23, 2026 14:27
Contributor
Author
alamb
approved these changes
Oct 23, 2026
alamb
left a comment
Contributor
There was a problem hiding this comment.
Thanks @neilconway -- this looks good to me
alamb
enabled auto-merge
October 23, 2026 15:13
auto-merge was automatically disabled
October 23, 2026 15:14
Pull request was closed
Contributor
|
Sorry I closed the wrong PR by accident |
Jefffrey
reviewed
Oct 23, 2026
| - name: Install rustup | ||
| shell: bash | ||
| run: | | ||
| curl --proto '=https' --tlsv1.2 --retry 3 -sSf https://sh.rustup.rs \ |
Contributor
There was a problem hiding this comment.
fyi it seems you can install rustup via taiki-e action
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.
Which issue does this PR close?
ubuntu-slimrunner #11774Rationale for this change
The shared ASF Infra
ubuntu-latestrunner pool is frequently saturated. ASF Infra recommends using theubuntu-slimpool instead, when possible:This PR moves the following CI jobs to run on
ubuntu-slim:The RAT and Publish changes were also proposed in #11803.
ubuntu-slimhas no Rust toolchain, Java, or container engine, so a few jobs need adjusting:amd64/rustcontainer. Instead, they install the Rust toolchain with a newsetup-rustupaction. Neither job compiles the workspace.cargo-audit auditdirectly, since there is nocargoto dispatchcargo audit.actions/setup-java.The jobs that remain on
ubuntu-latestcompile Rust code or run in a container.What changes are included in this PR?
See above. This PR also adds a note to
.github/workflows/README.mdrecommendingubuntu-slimfor new jobs that are small and short.Are these changes tested?
CI change only. This PR's CI runs every moved job except deploy and Publish, which only run on pushes to
mainand on release tags, respectively.Are there any significant user-facing changes?
No.