Repository navigation
Conversation
Solid 2 observe and dev builds record every server function execution and the route each server render resolved to. solidServerObserveIntegration, on by default on Node and Workers, adds a function span for each execution, and names the request span after the render's route when the router wrapper did not. Production builds have no records, so it does nothing there. Refs JS-4118 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
bugbot run |
size-limit report 📦Compared: 13b5d5e (PR test merge using develop at f3de4d6) Against: f3de4d6 (develop) · base run #67658 ✅ Baseline matches: this diff contains only this PR's changes.
|
Optional E2E testsAll optional checks were successful. 3 successful. See the run. Successful checks
|
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 8968129. Configure here.
| parent_span_id: parentSpanId, | ||
| status: 'ok', | ||
| attributes: expect.objectContaining({ | ||
| [SENTRY_OP]: 'function', |
There was a problem hiding this comment.
Test asserts span op as string
Low Severity
The new unit test asserts the server-function span op as the string 'function' instead of the FUNCTION constant from @sentry/conventions/op. This was flagged because the review rules require test assertions on span ops to use those constants, matching how the E2E test already compares getSpanOp(span) === FUNCTION.
Triggered by project rule: PR Review Guidelines for Cursor Bot
Reviewed by Cursor Bugbot for commit 8968129. Configure here.
…@sentry/core The span lint rule counts all of @sentry/solid as browser code, but this module only runs on the server. Refs JS-4118 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


What
On Solid 2 observe and dev builds, every server function execution gets a
functionspan, and the request span is named after the route the render resolved to (GET /user/:id), also withoutwithSentryRouterRouting. Production builds are unchanged.Why
Observe builds record these facts already, so they are free to read. The span uses the
functionop, like server actions and loaders in other SDKs, so no new attributes are needed.The span is made after the server function finished. So spans from inside the function, like a database query, show up next to it, not under it. Fixing that needs a hook that Solid gives to apps, so we leave it for later.
Refs JS-4118