Skip to content

ci: run formatting on ubuntu-slim - #7

Closed
robjtede wants to merge 1 commit into
mainfrom
ci/ubuntu-slim-fmt
Closed

robjtede wants to merge 1 commit into
mainfrom
ci/ubuntu-slim-fmt

Conversation

@robjtede

@robjtede robjtede commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Move CI/fmt (no matrix) to ubuntu-slim and use actions/checkout for that job. Keep Clippy and tests on Blacksmith because they compile Rust. Keep container build and promotion on Blacksmith because both run Docker builds or smoke tests.

GitHub documents slim as an unprivileged x64 container with 1 CPU, 5 GB RAM, 14 GB storage and a 15-minute job limit, available to public and private repositories. Its inventory includes Git, Node, curl and archive tools; the existing steps install Rust and just. Sources: https://docs.github.com/en/actions/reference/runners/github-hosted-runners and https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md.

Validation: just fmt-check passed locally. Both current-head workflows completed successfully: CI https://github.com/actix/github-release-router/actions/runs/41637375976 and container https://github.com/actix/github-release-router/actions/runs/41637375762. Formatting, Clippy, tests and container smoke tests passed. Reusable checks and image promotion were intentionally skipped for the PR event. No publishing or deployment was triggered. No observed job failures, timeouts, capacity cancellations or rerun API rejections. Clippy and test results on reruns were carried forward, not new executions.

Measurements: CI/fmt, no matrix. Seconds are job completed_at minus started_at; queue time is excluded and was not measured separately. Historical baseline runner is blacksmith-2vcpu-ubuntu-2404, NOT standard GitHub Ubuntu. Baseline cache hit state is unverified. All six measured formatting executions succeeded.

Runner Run / attempt Commit SHA Seconds Rust cache
Blacksmith 41493388685 1c647e1 21 Unknown
Blacksmith 41353007923 f18e64d 19 Unknown
Blacksmith 41101068729 d8d562e 367 Unknown
ubuntu-slim 41637375976 / 1 eecabf3 35 Miss, then saved
ubuntu-slim 41637375976 / 2 eecabf3 29 Hit
ubuntu-slim 41637375976 / 3 eecabf3 56 Hit

Baseline n=3, median 21s; slim n=3, median 35s. Median duration change is 100*(35/21-1) = +66.7% (+14s). This is a historical comparison with different source revisions, checkout actions, cache conditions and runner providers. The 367s historical outlier is retained and unexplained. No controlled same-code standard GitHub Ubuntu baseline was collected; do not attribute the entire difference to slim CPU performance. Slim installed Rust 1.99.1 during setup. No measurements remain pending.

@robjtede
robjtede marked this pull request as ready for review November 3, 2026 16:09
@robjtede robjtede closed this Nov 3, 2026
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.

1 participant