Skip to content
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

runner improvements and signal bugfixes #1972

Merged
merged 4 commits into from
Dec 11, 2024
Merged

runner improvements and signal bugfixes #1972

merged 4 commits into from
Dec 11, 2024

Conversation

sunshowers
Copy link
Member

No description provided.

This will help test out various state changes to the context.
It was always the intention to do this, but this broke at some point :( Unbreak
it and add tests.
Previously we'd use the same task for all tests -- that turns out to be fine in
most cases, but doesn't quite provide per-test isolation, and is slower in
repos like clap that have lots of small tests. Switch to using the same task
instead.

It's cool that async-scoped kind of works here, but non-static tasks are such
a pain to work with in general.

This makes the clap tests significantly faster. On `fc55ad08`, runtime on my
desktop (Ryzen 7950X/Linux) goes from 0.36 seconds to 0.24.
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 71.50538% with 53 lines in your changes missing coverage. Please review.

Project coverage is 80.23%. Comparing base (363c83f) to head (aee7e06).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
nextest-runner/src/reporter/displayer.rs 15.78% 32 Missing ⚠️
nextest-runner/src/runner/imp.rs 83.58% 11 Missing ⚠️
nextest-runner/src/runner/dispatcher.rs 92.95% 5 Missing ⚠️
nextest-runner/src/list/test_list.rs 0.00% 3 Missing ⚠️
nextest-runner/src/reporter/aggregator.rs 0.00% 1 Missing ⚠️
nextest-runner/src/reporter/events.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1972      +/-   ##
==========================================
- Coverage   80.38%   80.23%   -0.16%     
==========================================
  Files          92       92              
  Lines       22697    22745      +48     
==========================================
+ Hits        18246    18250       +4     
- Misses       4451     4495      +44     

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

Copy link

trunk-io bot commented Dec 11, 2024

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@sunshowers sunshowers merged commit 5f010c7 into main Dec 11, 2024
19 checks passed
@sunshowers sunshowers deleted the runner branch December 11, 2024 07:26
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