Skip to content

fix: limit test parallelism in make test #19465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2025

Conversation

spikecurtis
Copy link
Contributor

In order to get make test to reliably pass again on our dogfood workspaces, we're having to resort to setting parallelism.

It also reworks our CI to call the make test target, instead of rolling a different command.

Behavior changes:

  • sets 8 packages x 8 tests in parallel by default on make test
  • by default, removes the -short flag. In my testing it makes only a few seconds difference on ~200s, or 1-2%
  • by default, removes the -count=1 flag that busts Go's test cache. With a fresh cache and no code changes, make test executes in ~15 seconds.

@spikecurtis spikecurtis requested a review from johnstcn August 21, 2025 12:08
@spikecurtis spikecurtis changed the title fix: add test parallelism limit to make test fix: limit test parallelism in make test Aug 21, 2025
Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis force-pushed the spike/make-test-ci-and-parallelism branch from 393f91c to cb78863 Compare August 21, 2025 12:28
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

🎉

@spikecurtis spikecurtis merged commit 72f58c0 into main Aug 21, 2025
35 checks passed
@spikecurtis spikecurtis deleted the spike/make-test-ci-and-parallelism branch August 21, 2025 12:37
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy