Skip to content

Split rbe-toolchain into multiple tests - #2330

Merged
palfrey merged 2 commits into
TraceMachina:mainfrom
palfrey:split-rbe-toolchain
May 14, 2026
Merged

palfrey merged 2 commits into
TraceMachina:mainfrom
palfrey:split-rbe-toolchain

Conversation

@palfrey

@palfrey palfrey commented May 13, 2026 •

Copy link
Copy Markdown
Member

Description

It's the slowest test by about a factor of 2-3x now, mostly because it's got a lot of subtests. This PR gives the command a list subcommand as well as the ability to run individual subcommands. The overall end-to-end time for a RBE test goes from ~24m to ~6m max, even though there's a lot more of them. This does increase our needed test runner count a bunch, but only on Ubuntu machines which we have a lot of headroom for and tend to get allocated very fast.

It also removes the "remove package" step of the free disk action, as that wasn't freeing up much space, but it was very unreliable in terms of runtime, and especially with more separate jobs it was radically increasing the runtime sometimes.

Type of change

Please delete options that aren't relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

CI

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable

*llvm*
mysql*
dotnet-sdk-*
remove_packages_one_command: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incredibly slow, sometimes minutes, and doesn't save us that much vs the raw removing of folders.

@palfrey
palfrey marked this pull request as ready for review May 14, 2026 09:28
@palfrey
palfrey merged commit bfba576 into TraceMachina:main May 14, 2026
44 checks passed
@palfrey
palfrey deleted the split-rbe-toolchain branch May 14, 2026 09:37
rejuvenile pushed a commit to rejuvenile/nativelink that referenced this pull request Aug 19, 2026
* Split rbe-toolchain into multiple tests
* Disable slow remove packages step

This branch was previously deployed

1 inactive deployment
production — b3b84ef9 Deployed May 13, 2026 by palfrey via Web Platform Deployment / macos-26 #2507
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.

2 participants