Repository navigation
Conversation
size-limit report 📦Compared: e4f8349 (PR test merge using develop at d5cdfe8) Against: dd9903c (develop) · base run #64617
|
Optional E2E testsSome optional checks were not successful. They do not block the merge. 4 not successful, 25 successful. See the run.
Successful checks
|
29b761b to
0fa5a24
Compare
79c5b03 to
ee6cc70
Compare
ee6cc70 to
dcc387e
Compare
dcc387e to
735789f
Compare
dc67ef5 to
02913e0
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 02913e0. Configure here.
| }; | ||
| nitroApp.hooks.hook('error', sentryCaptureErrorHook); | ||
|
|
||
| return; |
There was a problem hiding this comment.
Nitro v3 path skips tracing tags
Medium Severity
The Nitro v3 branch wraps fetch and hooks error, then returns before registering render:html. Cloudflare setups rely on this plugin for that hook, so Nuxt 5 apps will not get Sentry tracing meta tags and distributed tracing from server to client will break.
Reviewed by Cursor Bugbot for commit 02913e0. Configure here.
| const traceDataMap = new WeakMap<object, ReturnType<typeof getTraceData>>(); | ||
|
|
||
| // Nitro v3 (Nuxt 5) has no `localFetch`. It hands the Worker's own request to `fetch`, with `ctx` on it. | ||
| const nitroV3App = nitroApp as unknown as { localFetch?: unknown; fetch?: (request: Request) => Promise<Response> }; |
There was a problem hiding this comment.
Unguarded double-cast in Nitro v3
Low Severity
A new as unknown as double-cast widens nitroApp to a structural fetch shape. The nearby comment explains the Nitro v3 runtime, not why a safer type is impossible. SDK source requires that justification on each double-cast.
Triggered by project rule: PR Review Guidelines for Cursor Bot
Reviewed by Cursor Bugbot for commit 02913e0. Configure here.
The Cloudflare request wrapper answers tunnel requests before the Worker's handler. Nuxt's Cloudflare plugin passes the request with its body, and Astro wraps Pages builds with `withSentry` like Workers builds.
02913e0 to
d0f5ad8
Compare


Adds the tunnel handling logic to our CF workers wrapper, and re-wires astro and other CF capable frameworks.