Skip to content

refactor(fmt): replace WorkTank with Tinypool - #147

Merged
chenjiahan merged 2 commits into
mainfrom
chenjiahan/refactor-fmt-tinypool
Aug 3, 2026
Merged

refactor(fmt): replace WorkTank with Tinypool#147
chenjiahan merged 2 commits into
mainfrom
chenjiahan/refactor-fmt-tinypool

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

This PR replaces WorkTank with Tinypool for formatter worker execution while preserving the existing formatter behavior. Tinypool remains a runtime dependency and relies on Rslib's default dependency externalization. Worker tasks now use object payloads, and pool shutdown is awaited to ensure cleanup completes.

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5dcf301
Status: ✅  Deploy successful!
Preview URL: https://117757e1.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-refactor-fmt-tiny.rstack-cli.pages.dev

View logs

…mt-tinypool

# Conflicts:
#	packages/rstack/src/fmt/worker.ts
@chenjiahan
chenjiahan merged commit b1fd78d into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/refactor-fmt-tinypool branch August 3, 2026 06:00
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