Repository navigation
fix(trace-view): Open the render trace at the render start - #131426
Merged
Merged
Conversation
"Open trace" in the Server rendering section sent the pageload start as the trace timestamp. The trace query searches only 1.5 days around that time, so it found no trace for a render that is older. SDKs now set page.server_rendering.age on the pageload span. The link now sends the pageload start minus that age. Without the age (older SDKs), it sends the pageload start, as before. When the render is older than the span retention, the section shows a muted text instead of a link.
s1gr1d
marked this pull request as ready for review
November 17, 2026 10:06
nsdeschenes
approved these changes
Nov 19, 2026
s1gr1d
enabled auto-merge (squash)
November 19, 2026 11:45
Other packages on master still depend on @sentry/conventions 0.33.0. The bump to 0.34.0 removed that entry, so pnpm install --frozen-lockfile failed in CI.
This branch was successfully 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.
"Open trace" in the Server rendering section of the pageload drawer now opens the trace of a reused render, also when the render is more than 1.5 days older than the pageload. Before, the link sent the pageload start as
timestamp. The trace query searches only 1.5 days around that time, so the link opened an empty trace for old pre-rendered pages.The SDKs now set
page.server_rendering.ageon the pageload span: the seconds from the start of the reused render to the start of the pageload (getsentry/sentry-conventions#799, getsentry/sentry-javascript#26397). The link sendspageload start − age, which is the start of the linked render span. If the age is missing (older SDKs) or negative, the link sends the pageload start, as before. The request render (server_requestlink) does not change.When the render start is older than the span retention, the section shows "Past N-day retention" instead of a link. This uses the same check as the Cache Lifecycle section.