Skip to content

feat(fmt): enable parallel formatting - #132

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/feat-fmt-parallel-worker
Aug 2, 2026
Merged

feat(fmt): enable parallel formatting#132
chenjiahan merged 3 commits into
mainfrom
chenjiahan/feat-fmt-parallel-worker

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Running rs fmt serially leaves available CPU capacity unused on multi-file workloads. This PR enables worker-based parallel formatting by default, lazily loads the worker pool, and preserves serial execution for single-file or non-cloneable requests. It also adds --no-parallel and --noParallel as explicit opt-outs, with coverage for worker startup, fallback, result ordering, and CLI behavior.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 1, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 858d963
Status: ✅  Deploy successful!
Preview URL: https://2b8b6665.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-fmt-parallel.rstack-cli.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6bb7addffc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rstack/THIRD_PARTY_NOTICES.md
@chenjiahan
chenjiahan merged commit 38ad68e into main Aug 2, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-fmt-parallel-worker branch August 2, 2026 01:09
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