fix(server): apply thread pool limit carve-out to all of macOS - #3994
Merged
Conversation
|
Thanks for the PR. It is labeled Slash commands (own line, regular comment) move it around the queue:
See CONTRIBUTING.md for details. |
hubcio
approved these changes
Aug 30, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3994 +/- ##
============================================
- Coverage 84.91% 84.89% -0.02%
Complexity 1405 1405
============================================
Files 1224 1224
Lines 179301 179301
Branches 145615 145616 +1
============================================
- Hits 152250 152218 -32
- Misses 23024 23031 +7
- Partials 4027 4052 +25
🚀 New features to boost your workflow:
|
Contributor
Author
|
/ready |
Contributor
Author
|
@hubcio @ethanlin01x - can you please re-review and run the CI please ? |
hubcio
approved these changes
Aug 31, 2026
spetz
approved these changes
Aug 31, 2026
numinnex
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR address?
Rationale
The zero thread-pool limit was skipped only on macOS aarch64, so an Intel macOS build applied it and panicked on the first fs operation with "the thread pool is needed but no worker thread is running". compio's polling driver routes fs through the blocking pool on all of macOS, not just Apple Silicon, which is what the comment above the cfg already described and what the FIXME removed in 8ed41c7 said before it.
What changed?
The zero
thread_pool_limitwas skipped on macOSaarch64, so an Intel macOS build applied it and panicked on the first fs operation with "the thread pool is needed but no worker thread is running". The fix now coverstarget="macOS"regardless of architecture. The related comment inmessage_writer.rsis updated to match and drop a reference to a FIXME removed in 8ed41c7.Local Execution
AI Usage
If AI tools were used, please answer: