perf(ci): run the PR docker-image cache gate on a GitHub-hosted runner#3185
Open
danceratopz wants to merge 1 commit into
Open
perf(ci): run the PR docker-image cache gate on a GitHub-hosted runner#3185danceratopz wants to merge 1 commit into
danceratopz wants to merge 1 commit into
Conversation
On pull requests the `cache-docker-images` job is normally a pure weekly-cache restore (~12s), but it gates all `test-hive` jobs and paid ~2.5 min of self-hosted runner provisioning before starting, roughly a quarter of the workflow's wall time. Select the runner by event: PRs use `ubuntu-latest` (picked up in seconds), while push and dispatch runs stay on self-hosted so the weekly cache is populated from GHR egress IPs, avoiding Docker Hub's per-IP rate limits on the shared GitHub-hosted IPs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/amsterdam #3185 +/- ##
===================================================
- Coverage 93.37% 93.13% -0.25%
===================================================
Files 624 624
Lines 36990 36990
Branches 3386 3386
===================================================
- Hits 34539 34449 -90
- Misses 1677 1741 +64
- Partials 774 800 +26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
danceratopz
marked this pull request as ready for review
July 16, 2026 20:46
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.
Description
On pull requests the
cache-docker-imagesjob is normally a pure weekly-cache restore (~12s), but it gates alltest-hivejobs and paid ~2.5 min of self-hosted runner provisioning before starting, roughly a quarter of the workflow's wall time.Select the runner by event: PRs use
ubuntu-latest(picked up in seconds), while push and dispatch runs stay on self-hosted so the weekly cache is populated from GHR egress IPs, avoiding Docker Hub's per-IP rate limits on the shared GitHub-hosted IPs.Related Issues or PRs
N/A.
Checklist
just static<type>(<area>): <title>, where<type>and<area>come from an appropriateC-<type>, respectivelyA-<area>, label. The title should match the target squash commit message.Cute Animal Picture