Skip to content

test: Use single thread for tests when passing options - #1631

Open
tpoliaw wants to merge 1 commit into
mainfrom
just-unit-thread-count
Open

test: Use single thread for tests when passing options#1631
tpoliaw wants to merge 1 commit into
mainfrom
just-unit-thread-count

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

If specifying limited tests via options such as -k specific_test or
only running previous failures with --lf, the overhead of creating
additional workers and gathering results can be longer than the time
saved by running tests in parallel.

Leaving the multi-thread options as default means running just unit
still runs the whole suite as quickly as it can.

If specifying limited tests via options such as `-k specific_test` or
only running previous failures with `--lf`, the overhead of creating
additional workers and gathering results can be longer than the time
saved by running tests in parallel.

Leaving the multi-thread options as default means running `just unit`
still runs the whole suite as quickly as it can.
@tpoliaw
tpoliaw requested a review from a team as a code owner August 18, 2026 10:56
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.96%. Comparing base (5d7e2fa) to head (2220bc0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1631   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files          45       45           
  Lines        3323     3323           
=======================================
  Hits         3189     3189           
  Misses        134      134           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw
tpoliaw requested a review from abbiemery August 18, 2026 12:48
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.

1 participant