GeezerVison is showing github.com — test(rsc): run cloudflare e2e on a copy of starter-extra by hi-ogawa · Pull Request #1488 · vitejs/vite-plugin-react
Conversation
hi-ogawa
commented
Oct 5, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
The Cloudflare e2e tests ran directly on examples/starter-extra, and their dev HMR tests edit its client, root, and css files in place before restoring them. Most other e2e specs copy examples/starter-extra as the base for their inline fixtures. Playwright runs two workers, so a spec on the other worker could copy the example mid-edit and build a fixture with the edited source. #1480 hit the same race with examples/starter, where it showed up as a fixture rendering Client [edit] Counter.
This PR runs the Cloudflare tests on their own copy under the e2e temp directory, the same way other inline fixtures work. No test edits examples/starter-extra in place anymore. The copy resolves packages from the shared e2e fixture package, so the Cloudflare Vite plugin and wrangler are added there.
The contributing guide also told contributors to base inline fixtures on examples/starter, which contradicts the agent guide and what nearly every existing test does. It now says examples/starter-extra.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The cloudflare dev tests edited `examples/starter-extra` in place for
HMR, while other specs copy that directory as their inline fixture base.
A copy taken on the other worker during an edit could build with the
edited source. Run the cloudflare tests on an inline fixture instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Match the Cloudflare plugin and wrangler versions in starter-extra.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.