Skip to content

refactor(fmt): always use workers - #140

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-worker-only
Aug 3, 2026
Merged

refactor(fmt): always use workers#140
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-worker-only

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR makes rs fmt use the worker pool for every non-empty formatting run, including single-file runs and --parallel-workers=1. It removes --no-parallel and the internal main-thread fallback, and consolidates the file formatter in the worker entry. Empty matches remain a successful no-op, while worker startup and task failures are reported without main-thread retries.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e748423
Status: ✅  Deploy successful!
Preview URL: https://e38961cb.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-refactor-fmt-work.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit e3959bf into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/refactor-fmt-worker-only branch August 3, 2026 03:39
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