[build] populate linux bazel cache from gh-cache workflow instead of RBE by titusfortner · Pull Request #18003 · SeleniumHQ/selenium · GitHub
Skip to content

[build] populate linux bazel cache from gh-cache workflow instead of RBE - #18003

Merged
titusfortner merged 1 commit into
trunkfrom
bazel-linux-cache-populate
Sep 8, 2026
Merged

titusfortner merged 1 commit into
trunkfrom
bazel-linux-cache-populate

Conversation

@titusfortner

@titusfortner titusfortner commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

🔗 Related Issues

The Linux repository cache saved by the trunk RBE run has grown to 5.5 GB, which pushes the repo over the 10 GB GitHub cache limit and now evicts the Windows entry.

💥 What does this PR do?

  • Populates the Linux Bazel repository cache from the GitHub Cache workflow, the same way macOS and Windows are populated, instead of saving it from the RBE run.

🔧 Implementation Notes

  • The RBE run pins browsers and executes everything, so its saved cache is about 5.5 GB; the analysis-only populate produces about 2.5 GB, which keeps all three OS entries under the limit with room for one to rotate.
  • Measured impact on the RBE job is nil: time from job start to "Analyzed" was about 5 minutes when restoring the 5.5 GB entry and 3 to 5 minutes with no cache at all, since unpacking the tarball costs about as much as the downloads it replaces.
  • No GitHub-hosted Linux job uses pinned browsers, so nothing else loses cached content.

🤖 AI assistance

  • AI assisted (complete below)
    • Tool(s): Claude Code (Fable 5.1)
    • What was generated: the cache and CI log analysis, the change, and this description
    • I reviewed all AI output and can explain the change

🔄 Types of changes

  • Cleanup (CI cache strategy)

@selenium-ci selenium-ci added the B-build Includes scripting, bazel and CI integrations label Sep 8, 2026
@qodo-code-review

Copy link
Copy Markdown
Contributor

@qodo-code-review

Copy link
Copy Markdown
Contributor

@titusfortner
titusfortner merged commit fb8ae46 into trunk Sep 8, 2026
30 checks passed
@titusfortner
titusfortner deleted the bazel-linux-cache-populate branch September 8, 2026 16:33
This was referenced Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-build Includes scripting, bazel and CI integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants