Repository navigation
reduce GitHub Actions cache pressure in e2e workflows - #18151
Merged
Merged
Conversation
The repo's e2e workflows were pinned at the 10 GB Actions cache quota (3,576 active caches), causing eviction of the caches PR builds most depend on. Two changes: - Drop the RStudio installer caches (actions/cache@v4, no branch gate). These just re-download an already-published daily build from dailies.rstudio.com (S3/CDN-backed), and since GH cache scoping doesn't let concurrent PRs share an entry, every PR that hit this path was minting its own duplicate multi-hundred-MB copy of the same bytes for no real time savings. - Gate the GWT output "Save" step to main-scoped runs only, matching the main-only-save pattern already used for the rstudio-tools/R-libs caches. A cache saved from a PR run is only ever visible to that same PR, so it was pure one-way quota pressure on main's copy, which is the one every other PR actually depends on for a fast build.
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
gtritchie
added a commit
that referenced
this pull request
Jul 6, 2026
Restore the Windows build configuration to e4e2b13, the last commit with a green Windows build, backing out the VS 2026 / MSVC 14.5 toolchain migration that landed alongside the setlocale fix in #18141 (the #17986 work). The migration bumped the Windows Docker base image to windowsservercore-ltsc2022, but the Jenkins Windows agents run Windows Server 2019 (10.0.17763). A 2022-based (10.0.20348) container cannot run there under process isolation, so the image rebuild fails at the FROM step, the jenkins/ide:windows-x86_64-pacific-dogwood tag in ECR stays at the pre-migration image, and downstream builds pull that stale VS 2022 image -- which windows-checks.cmake then rejects for reporting toolset 143. main has been red on Windows since the migration merged. Only the toolchain hunks are reverted. The #18139 setlocale fix and its test fixes from #18141 are preserved, as are the unrelated e2e cache changes from #18151. The migration can reland once the Windows CI fleet is upgraded to Server 2022.
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.
Summary
The repo's e2e Actions cache was pinned at the 10 GB quota (3,576 active cache entries), which was causing eviction of the caches PR builds most depend on (
rstudio-tools, R-libs, GWT output). This trims two sources of pure waste:actions/cache@v4, no branch gate). These steps don't build anything — whenbuild_from_source == falsethey just re-download an already-published daily build fromdailies.rstudio.com(itself S3/CDN-backed). Because GitHub's cache scoping doesn't let concurrent PRs share a cache entry with each other (only with their base branch), every PR that hit this path was independently downloading and caching its own duplicate multi-hundred-MB copy of identical bytes, with no real time savings over just downloading fresh.rstudio-toolsand R-libs caches elsewhere in these same workflows. A cache saved from a PR run is only ever visible to that same PR (never to main or other PRs), so PR-side saves were pure one-way quota pressure on main's copy — the one every other PR actually depends on for a fast, warm GWT build.Test plan