Skip to content

refactor(tasks): always explicitly initialize Rayon thread pool#13123

Merged
graphite-app[bot] merged 1 commit intomainfrom
08-15-refactor_tasks_always_explicitly_initialize_rayon_thread_pool
Aug 15, 2025
Merged

refactor(tasks): always explicitly initialize Rayon thread pool#13123
graphite-app[bot] merged 1 commit intomainfrom
08-15-refactor_tasks_always_explicitly_initialize_rayon_thread_pool

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Aug 15, 2025

Similar to #13122. Unconditionally initialize Rayon global thread pool in coverage runner.

The guarantees provided by explicitly initializing the thread pool are going to be critical for the linter.

Coverage currently doesn't cover linter, so it doesn't matter, but this doesn't hurt to do, and gives us greater safety if coverage does involve the linter at a later date.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Aug 15, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review August 15, 2025 15:18
Copilot AI review requested due to automatic review settings August 15, 2025 15:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Aug 15, 2025
Copy link
Member Author

overlookmotel commented Aug 15, 2025

Merge activity

Similar to #13122. Unconditionally initialize Rayon global thread pool in coverage runner.

The guarantees provided by explicitly initializing the thread pool are going to be critical for the linter.

Coverage currently doesn't cover linter, so it doesn't matter, but this doesn't hurt to do, and gives us greater safety if coverage does involve the linter at a later date.
@graphite-app graphite-app bot force-pushed the 08-15-refactor_tasks_always_explicitly_initialize_rayon_thread_pool branch from 0e538ca to bef2ace Compare August 15, 2025 15:39
@graphite-app graphite-app bot merged commit bef2ace into main Aug 15, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 08-15-refactor_tasks_always_explicitly_initialize_rayon_thread_pool branch August 15, 2025 15:44
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants