Skip to content

chore: use ubuntu-slim for lightweight jobs#2187

Merged
kevinjqliu merged 2 commits intoapache:mainfrom
zhjwpku:use_ubuntu-slim_for_lightweight_jobs
Feb 27, 2026
Merged

chore: use ubuntu-slim for lightweight jobs#2187
kevinjqliu merged 2 commits intoapache:mainfrom
zhjwpku:use_ubuntu-slim_for_lightweight_jobs

Conversation

@zhjwpku
Copy link
Copy Markdown
Contributor

@zhjwpku zhjwpku commented Feb 27, 2026

ubuntu-slim is a new cost-efficient runner to fit lightweight jobs. We can use this to save ASF infra usage (if possible).

By lightweight I mean jobs that run for less than a minute and are not easily affected by other concurrently running jobs on the same host.

This topic was raised in the Apache ORC project and later adopted by iceberg-cpp. We believe it could also benefit other projects under the Apache Iceberg umbrella.

Refs:

ubuntu-slim is a new cost-efficient runner to fit lightweight jobs.
We can use this to save ASF infra usage (if possible).

By *lightweight* I mean jobs that run for less than a minute and
are not easily affected by other concurrently running jobs on the
same host.

This topic was raised in the Apache ORC project and later adopted
by iceberg-cpp. We believe it could also benefit other projects
under the Apache Iceberg umbrella.

Refs:

- https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/
- https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md
@kevinjqliu kevinjqliu merged commit 01a6a43 into apache:main Feb 27, 2026
19 checks passed
xanderbailey pushed a commit to xanderbailey/iceberg-rust that referenced this pull request Feb 28, 2026
ubuntu-slim is a new cost-efficient runner to fit lightweight jobs. We
can use this to save ASF infra usage (if possible).

By *lightweight* I mean jobs that run for less than a minute and are not
easily affected by other concurrently running jobs on the same host.

This topic was raised in the Apache ORC project and later adopted by
iceberg-cpp. We believe it could also benefit other projects under the
Apache Iceberg umbrella.

Refs:

-
https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/
-
https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md
github-merge-queue Bot pushed a commit to apache/datafusion that referenced this pull request Mar 30, 2026
## Which issue does this PR close?

- Closes #20870.

## Rationale for this change

`ubuntu-slim` is a cost-efficient runner that can save ASF
infrastructure resources for lightweight CI jobs. This was raised in the
Apache ORC project and adopted by other Apache projects like
iceberg-rust (apache/iceberg-rust#2187).

## What changes are included in this PR?

Switch 6 lightweight CI jobs from `ubuntu-latest` to `ubuntu-slim`:
- `take.yml`: `issue_assign` — curl API calls only
- `large_files.yml`: `check-files` — git commands only
- `stale.yml`: `close-stale-prs` — actions/stale
- `labeler.yml`: `process` — actions/labeler
- `codeql.yml`: `analyze` — codeql-action on Actions YAML
- `dev.yml`: `prettier` — setup-node + prettier

## Are these changes tested?

CI only — this changes the runner type, not workflow logic.

## Are there any user-facing changes?

No.
Rich-T-kid pushed a commit to Rich-T-kid/datafusion that referenced this pull request Apr 21, 2026
## Which issue does this PR close?

- Closes apache#20870.

## Rationale for this change

`ubuntu-slim` is a cost-efficient runner that can save ASF
infrastructure resources for lightweight CI jobs. This was raised in the
Apache ORC project and adopted by other Apache projects like
iceberg-rust (apache/iceberg-rust#2187).

## What changes are included in this PR?

Switch 6 lightweight CI jobs from `ubuntu-latest` to `ubuntu-slim`:
- `take.yml`: `issue_assign` — curl API calls only
- `large_files.yml`: `check-files` — git commands only
- `stale.yml`: `close-stale-prs` — actions/stale
- `labeler.yml`: `process` — actions/labeler
- `codeql.yml`: `analyze` — codeql-action on Actions YAML
- `dev.yml`: `prettier` — setup-node + prettier

## Are these changes tested?

CI only — this changes the runner type, not workflow logic.

## Are there any user-facing changes?

No.
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.

2 participants