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

Improve executor shutdown failsafe and tests #427

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

ascopes
Copy link
Owner

@ascopes ascopes commented Oct 21, 2024

No description provided.

@ascopes ascopes added the general improvements Fixing/updating internal components and code label Oct 21, 2024
@ascopes ascopes added this to the v2.6.x milestone Oct 21, 2024
@ascopes ascopes self-assigned this Oct 21, 2024
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.77%. Comparing base (b0b8d4e) to head (a0beba0).
Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
.../protobufmavenplugin/utils/ConcurrentExecutor.java 77.78% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #427      +/-   ##
==========================================
+ Coverage   87.76%   87.77%   +0.02%     
==========================================
  Files          33       33              
  Lines        1127     1128       +1     
  Branches       76       76              
==========================================
+ Hits          989      990       +1     
  Misses        104      104              
  Partials       34       34              
Files with missing lines Coverage Δ
.../protobufmavenplugin/utils/ConcurrentExecutor.java 93.19% <77.78%> (+0.16%) ⬆️

@ascopes ascopes force-pushed the task/improve-executor-shutdown branch 2 times, most recently from e7cc677 to e5df858 Compare October 22, 2024 06:57
- Use fixedThreadPool
- Use a thread group to enforce meaningful thread naming
- Force all pooled threads to be daemon threads if not
  using virtual threads.
@ascopes ascopes force-pushed the task/improve-executor-shutdown branch from e5df858 to a0beba0 Compare October 22, 2024 07:06
@ascopes ascopes merged commit 0b18362 into main Oct 22, 2024
12 of 13 checks passed
@ascopes ascopes deleted the task/improve-executor-shutdown branch October 22, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general improvements Fixing/updating internal components and code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant