Skip to content

fix(perf-kit): Worker mode with nested rolldown, external bindings, redirects - #11498

Merged
IWANABETHATGUY merged 1 commit into
mainfrom
fix/perf-kit-worker-lab
Nov 5, 2026
Merged

IWANABETHATGUY merged 1 commit into
mainfrom
fix/perf-kit-worker-lab

Conversation

@IWANABETHATGUY

Copy link
Copy Markdown
Member

Three Worker mode failures, each with a test:

  • The report-mode check in the config shim resolved rolldown from one folder above vite. It read a copy at the app root, not the one vite uses, so an older root copy made the shim refuse the build.
  • A binding to a Worker outside the instance stopped the runtime at startup. Miniflare now gets a private, empty dev registry, so the binding fails only when called.
  • fetchText followed redirects out of the local instance. It now returns the 3xx as the answer.

…edirects

- The report-mode check in the config shim resolved rolldown from one
  folder above vite. It read a copy at the app root, not the one vite
  uses, so an older root copy made the shim refuse the build.
- A binding to a Worker outside the instance stopped the runtime at
  startup. Miniflare now gets a private, empty dev registry, so the
  binding fails only when called.
- fetchText followed redirects out of the local instance. It now returns
  the 3xx as the answer.
@netlify

netlify Bot commented Nov 5, 2026

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 4e43335
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6aec566c7ebd01025162ff87

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-perf-kit-worker-lab-rolldown-rs.voidzero-docs.workers.dev (commit 4e43335)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://1c102cac-rolldown-rs.voidzero-docs.workers.dev 4e43335 2026-11-05T10:14:21.554Z Visit the dashboard ↗

@IWANABETHATGUY
IWANABETHATGUY marked this pull request as ready for review November 5, 2026 10:22
@IWANABETHATGUY
IWANABETHATGUY merged commit 8b36bf7 into main Nov 5, 2026
36 checks passed
@IWANABETHATGUY
IWANABETHATGUY deleted the fix/perf-kit-worker-lab branch November 5, 2026 10:22
shulaoda added a commit that referenced this pull request Nov 5, 2026
## [0.1.0] - 2026-11-05

### 🚀 Features

- perf-kit: add the Worker leads and keep rules from the startup A/B
runs (#11479) by @IWANABETHATGUY
- perf-kit: show module-scope calls and compare with the pinned build in
the same Worker scan (#11415) by @IWANABETHATGUY
- perf-kit: measure the deployed site and replay it for local builds
(#11215) by @IWANABETHATGUY
- perf-kit: diagnose chunk loading before FCP and LCP (#11214) by
@IWANABETHATGUY
- perf-kit: Cloudflare Worker startup mode (#11188) by @IWANABETHATGUY

### 🐛 Bug Fixes

- perf-kit: Worker mode with nested rolldown, external bindings,
redirects (#11498) by @IWANABETHATGUY
- perf-kit: make Worker mode work on more app setups (#11414) by
@IWANABETHATGUY

### 📚 Documentation

- add build report and perf-kit in-depth pages (#11480) by
@IWANABETHATGUY

### ⚙️ Miscellaneous Tasks

- perf-kit: keep run details out of code comments (#11481) by
@IWANABETHATGUY

Co-authored-by: shulaoda <[email protected]>
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.

2 participants