Skip to content

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