Skip to content

fix: perform format operation in chunks#115

Open
cellison-figma wants to merge 1 commit into
prettier:mainfrom
cellison-figma:ce/chunk-file-formatting
Open

fix: perform format operation in chunks#115
cellison-figma wants to merge 1 commit into
prettier:mainfrom
cellison-figma:ce/chunk-file-formatting

Conversation

@cellison-figma

Copy link
Copy Markdown

Description

Maps file formatting with concurrency, bound to passed in parallel worker count or CPU count minus one (as fallback). This replaces the previous unbounded Promise.allSettled & addresses an outstanding TODO comment. Cache reads, config resolution, file contents, and formatting jobs are still bound together. Errors still settle independently, and results retain their original file order.

The concurrency mapper has added tests to cover core functionality.

This resolves issue #114

@cellison-figma cellison-figma changed the title feat: perform format operation in chunks fix: perform format operation in chunks Jul 22, 2026
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