Skip to content

perf(fmt): streamline worker boundaries - #146

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

perf(fmt): streamline worker boundaries#146
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-worker-boundary

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR trims the internal fmt worker boundary to avoid copying options and sending the file path twice for every file. Workers now set Prettier's filepath from the request path, while the runner omits unused timing metadata and unchanged-file result objects. CLI formatting behavior remains unchanged.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

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

View logs

@chenjiahan
chenjiahan merged commit f3df538 into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/refactor-fmt-worker-boundary branch August 3, 2026 05:54
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