GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(solid): Turn Solid 2 observe build records into spans by chargome · Pull Request #26794 · getsentry/sentry-javascript Conversation
Member
WhatOn Solid 2 observe and dev builds, every server function execution gets a WhyObserve builds record these facts already, so they are free to read. The span uses the 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
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsAll reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
size-limit report 📦Compared: 8027f92 (PR test merge using develop at abd9eca) Against: abd9eca (develop) · base run #68109 ✅ Baseline matches: this diff contains only this PR's changes.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Optional E2E testsAll optional checks were successful. 5 successful. See the run. Successful checks
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Stale Bugbot comment from a previous run.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
e6547fd to
c79d7f4
Compare
|
bugbot run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Stale Bugbot comment from a previous run.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
bugbot run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 99a9876. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| */ | ||
| function nameRequestAfterRenderRoute({ route }: RenderEvent): void { | ||
| const activeSpan = getActiveSpan(); | ||
| if (!route?.name || !activeSpan) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
could we skip renders without route.params as well (Solid does not add this when no route matches)? otherwise we would use the raw path and attach route as the source (below), but we have no route that matches here.
| if (!route?.name || !activeSpan) { | |
| if (!route?.name || !route.params || !activeSpan) { |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Good catch, the router reports the raw path as the name with no params when nothing matched. Applied in 792be89, with a test.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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 <[email protected]>
…@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 <[email protected]>
Refs JS-4118 Co-Authored-By: Claude Opus 5.5 <[email protected]>
performanceTimeToSeconds corrects for clock drift like the request span's timestamps, and skips the span when there is no usable time origin. Refs JS-4118 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Without a match, the router reports the raw path as the route name and no params, so naming the span after it with source route was wrong. Co-Authored-By: Claude Opus 5.5 <[email protected]>
792be89 to
97eb5b2
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.