Repository navigation
Conversation
Move jobs that only run a script, a prebuilt binary, or a gh command onto the smaller ubuntu-slim runners so they stop waiting in the ubuntu-latest queue behind full Rust builds. Co-Authored-By: Claude Fable 5.1 <[email protected]>
alamb
marked this pull request as ready for review
October 22, 2026 12:52
Jefffrey
approved these changes
Oct 22, 2026
alamb
enabled auto-merge
October 22, 2026 13:00
etseidl
approved these changes
Oct 22, 2026
etseidl
left a comment
Contributor
There was a problem hiding this comment.
Don't want to be left out 😅. Thanks all for trying to make CI better!
Contributor
Author
|
@neilconway has incproprated the same changes into #11774 so let's go with that |
auto-merge was automatically disabled
October 23, 2026 15:27
Pull request was closed
osipovartem
pushed a commit
to Embucket/arrow-rs
that referenced
this pull request
Oct 23, 2026
# Which issue does this PR close? - Related to apache#9536 and apache#11803 - closes apache#11774 # Rationale for this change The shared ASF Infra `ubuntu-latest` runner pool is frequently saturated. [ASF Infra recommends using the `ubuntu-slim` pool instead](https://infra.apache.org/services.html), when possible: > Use lightweight runners: For small, short jobs, consider using runs-on: ubuntu-slim. These provide 1 vCPU, 5GB RAM, no Docker engine, and a 15-minute hard limit. They churn much more quickly during peak times, allowing you to bypass the standard ubuntu-latest queue while freeing up capacity for others. This PR moves the following CI jobs to run on `ubuntu-slim`: - Select and validate CI suites (ci.yml) - Lint (cargo fmt) (rust.yml) - Check unused dependencies (rust.yml) - Audit (audit.yml) - Release Audit Tool (RAT) (dev.yml) - Spell Check with Typos (dev.yml) - deploy (docs.yml) - Publish (release.yml) The RAT and Publish changes were also proposed in apache#11803. `ubuntu-slim` has no Rust toolchain, Java, or container engine, so a few jobs need adjusting: - Lint and Check unused dependencies no longer run inside the `amd64/rust` container. Instead, they install the Rust toolchain with a new `setup-rustup` action. Neither job compiles the workspace. - Audit calls `cargo-audit audit` directly, since there is no `cargo` to dispatch `cargo audit`. - RAT installs JDK 17 with `actions/setup-java`. The jobs that remain on `ubuntu-latest` compile 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.md` recommending `ubuntu-slim` for 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 `main` and on release tags, respectively. # Are there any significant user-facing changes? No.
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?
Related to apache/datafusion#25088 (CI takes hours to start) and https://issues.apache.org/jira/browse/INFRA-28374
ubuntu-slimrunner #11774Rationale for this change
CI jobs in this repo are currently waiting a long time for a runner before they even start. Looking at recent PR runs, some jobs that complete in 10-20 seconds spent anywhere from 17 minutes to almost 4 hours queued waiting for an
ubuntu-latestrunner:(queued = time from job creation to job start, from successful PR runs on 2026-10-20 and 2026-10-21)
While github doesn't explicitly say there is a separate queue, it seems in practice that slim jobs in this repo hrun immediately while
ubuntu-latestjobs wait for hours: here is the queue time for every job in the last 60 CI runs (877 jobs since 2026-10-19), by runner label:ubuntu-latestubuntu-slimmacos-latestwindows-latestPer-run queue times for the paired dev jobs
Markdown format(slim)Typos(latest)RAT(latest)What changes are included in this PR?
Move the remaining jobs that do not compile anything onto
ubuntu-slim:Are these changes tested?
CU
Are there any user-facing changes?
No