Skip to content

perf(wrangler): remove execa#12369

Draft
43081j wants to merge 2 commits intocloudflare:mainfrom
43081j:execaless
Draft

perf(wrangler): remove execa#12369
43081j wants to merge 2 commits intocloudflare:mainfrom
43081j:execaless

Conversation

@43081j
Copy link
Contributor

@43081j 43081j commented Feb 2, 2026

This removes execa and uses the much smaller, more modern tinyexec
instead.

Reasoning:

  • execa 640KB vs tinyexec 26KB
  • execa 23 packages vs tinyexec 1 package
  • tinyexec is widely adopted by most of the modern CLIs today (tsdown,
    vite, vitest, storybook, etc.)

Part of #11854.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s): N/A
    • Documentation not necessary because: Internal code change only

Open with Devin

@43081j 43081j requested review from a team as code owners February 2, 2026 17:32
@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2026

🦋 Changeset detected

Latest commit: 5f1a98a

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Feb 2, 2026
@43081j 43081j changed the title perf: remove execa perf(wrangler): remove execa Feb 2, 2026
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View issue and 5 additional flags in Devin Review.

Open in Devin Review

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 2, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@12369

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@12369

miniflare

npm i https://pkg.pr.new/miniflare@12369

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@12369

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@12369

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@12369

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12369

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@12369

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@12369

wrangler

npm i https://pkg.pr.new/wrangler@12369

commit: 5f1a98a

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View issue and 6 additional flags in Devin Review.

Open in Devin Review

Copy link
Contributor

@ascorbic ascorbic left a comment

Choose a reason for hiding this comment

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

Thanks, @43081j!

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Feb 3, 2026
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View issue and 7 additional flags in Devin Review.

Open in Devin Review

@petebacondarwin petebacondarwin force-pushed the execaless branch 4 times, most recently from 3723c61 to 56b361e Compare February 3, 2026 20:50
@petebacondarwin
Copy link
Contributor

The windows CI job appears to keep hanging but also this needs another rebase.

@43081j
Copy link
Contributor Author

43081j commented Feb 3, 2026

Strange. When I'm next on a Windows machine I can try run them locally and see what happens if that helps

@petebacondarwin petebacondarwin moved this from Approved to In Progress in workers-sdk Feb 4, 2026
@petebacondarwin petebacondarwin marked this pull request as draft February 4, 2026 09:42
This removes `execa` and uses the much smaller, more modern `tinyexec`
instead.

Reasoning:

- `execa` 640KB vs `tinyexec` 26KB
- `execa` 23 packages vs `tinyexec` 1 package
- `tinyexec` is widely adopted by most of the modern CLIs today (tsdown,
  vite, vitest, storybook, etc.)

Part of cloudflare#11854.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants