Repository navigation
Conversation
The Tier 2 Linux job rebuilt its ubuntu:26.04 image (about 80 apt packages plus the pinned Rust toolchain) on every run: 137 s of a 4 min job, against 22 s and 26 s for the two ccache-backed builds. Build the image in the workflow with Buildx and the GitHub Actions cache, then tell run.sh not to rebuild it (OBS_TIER2_IMAGE_PREBUILT). Only runs on master write the layer cache, matching the compiler cache policy (including the release gate's runs, obs-rust#436). Local runs of run.sh are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
rdoupe
force-pushed
the
infra/ci-tier2-setup
branch
from
October 13, 2026 03:19
4e2421d to
3811f02
Compare
Temporary, so a rerun of this PR measures a warm image build. Dropped before review.
rdoupe
force-pushed
the
infra/ci-tier2-setup
branch
from
October 13, 2026 04:39
3811f02 to
7a8b477
Compare
Collaborator
Author
|
Closing. Measured, it doesn't pay off.
FYI only: an image pushed to GHCR from master and pulled by PRs would avoid the Actions cache entirely. The eviction pressure probably costs cache hits in other jobs too. |
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.
Part of #427. Removes per-run setup from the Rust Tier 2 jobs. Each commit is measured on this PR's own runs; the description is updated as the commits land.
1. Cache the Linux Tier 2 Docker image
The Tier 2 Linux job rebuilt its ubuntu:26.04 image (about 80 apt packages plus the pinned Rust toolchain) on every run. That was 137 s of a 4 min job, against 22 s and 26 s for the two ccache-backed builds. The workflow now builds the image with Buildx and the GitHub Actions cache, then tells
run.shnot to rebuild it (OBS_TIER2_IMAGE_PREBUILT). Only master pushes write the layer cache, matching the compiler-cache policy. Local runs ofrun.share unchanged.A temporary
DO NOT MERGEcommit lets this PR write the cache once, so a rerun can measure a warm build. It is dropped before review.Refs #427
🤖 Generated with Claude Code