Repository navigation
feat(cloudflare): Auto-instrument the generated Worker entry of Void apps - #26953
Draft
andreiborza wants to merge 3 commits into
Draft
andreiborza wants to merge 3 commits into
andreiborza wants to merge 3 commits into
Conversation
…apps Closes: #26945 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
size-limit report 📦Compared: 030918f (PR test merge using develop at 489a157) Against: 4559506 (develop) · base run #68242
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 565f73e. Configure here.
Contributor
Optional E2E testsAll optional checks were successful. 65 successful. See the run. Successful checks
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

What
sentryCloudflareVitePlugin()now finds a native Void app and wraps the Worker entry that Void generates. It reads the options from aninstrument.server.*file in the project root. The app still needswrangleras a dev dependency, because the plugin imports it and Void does not install it.Why
A Void app has no wrangler config with a
main, so the plugin turned itself off and sent no data.Sentry traces
Native Void app in
vite dev, requestGET /api/users/42.Before: the plugin turns itself off and no trace is sent.
After, root span
GET /api/users/:idwith middleware spans:Closes: #26945