Skip to content

WIP test-bot: parallelize dependent test#21871

Draft
GunniBusch wants to merge 1 commit intoHomebrew:mainfrom
GunniBusch:feat/add-parallel-dependent-testing
Draft

WIP test-bot: parallelize dependent test#21871
GunniBusch wants to merge 1 commit intoHomebrew:mainfrom
GunniBusch:feat/add-parallel-dependent-testing

Conversation

@GunniBusch
Copy link
Copy Markdown
Contributor

@GunniBusch GunniBusch commented Mar 29, 2026


  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests (excluding integration tests) for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Info: This is WIP, and currently NOT the final version. I am opening this PR so I can use the pr to do some testing and one can see the progress.

The goal of this PR is to introduce a way to make testing dependencies parallel. Important to know is that I dont think the actual testing is the pure problem but the other steps. I sampled the timings of a lot of homebrew core dependent tests and came to this conclusion:

This shows that testing is not that slow, but the stuff like installing and such is.

So my proposed solution is to leave testing as is and just try to better balance out the pretest stuff.

I will remove WIP once my approach is final.

PS:

Unlike my previous approach using sharding, this is supposed to have a lower footprint (eg also regarding code changes)

@GunniBusch GunniBusch force-pushed the feat/add-parallel-dependent-testing branch 2 times, most recently from 12de736 to 68d5e26 Compare March 29, 2026 17:17
@GunniBusch GunniBusch changed the title WIP test-bot: parallelize bottled dependents WIP test-bot: parallelize dependent test Mar 29, 2026
@GunniBusch GunniBusch force-pushed the feat/add-parallel-dependent-testing branch 14 times, most recently from 264121e to ece3685 Compare March 29, 2026 20:11
@GunniBusch GunniBusch force-pushed the feat/add-parallel-dependent-testing branch from ece3685 to 3025738 Compare March 29, 2026 20:22
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Hey @GunniBusch! I think this misunderstands the goal of "parallelising" here; we're not wanting to parallelise within a single GitHub Actions worker/job but to fan out to many different GitHub Actions workers/jobs.

Let me know if that doesn't make sense!

@GunniBusch
Copy link
Copy Markdown
Contributor Author

Hey @GunniBusch! I think this misunderstands the goal of "parallelising" here; we're not wanting to parallelise within a single GitHub Actions worker/job but to fan out to many different GitHub Actions workers/jobs.

Let me know if that doesn't make sense!

Good to know. So like my prev one.
Will update this pr

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