Skip to content

fix(attributes): Describe pageload links for cache_origin and server_request - #789

Merged
s1gr1d merged 2 commits into
mainfrom
sig/link-type-pageload
Nov 11, 2026
Merged

s1gr1d merged 2 commits into
mainfrom
sig/link-type-pageload

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

This PR is just clarifying the attributes better.

A pageload span of a reused page (page.server_rendering.type is static or partially_static) links the span that rendered the reused part with cache_origin. The briefs did not cover this case, so server_request could look like the right type for it.

server_request is only for the request of the current page load, when its trace context arrived too late to continue. The two types can be on the same pageload span. The JavaScript SDK sets both in @sentry/nextjs (getsentry/sentry-javascript#25142, getsentry/sentry-javascript#25318).

Docs for those attributes: getsentry/sentry-docs#20112

…er_request`

A pageload span of a reused page links the span that rendered the reused part with
`cache_origin`. The briefs did not cover that case, so `server_request` could look
like the right type for it.
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-conventions Ready Ready Preview Nov 11, 2026 9:41am UTC

Request Review

@alexander-alderman-webb alexander-alderman-webb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add TypeScript type generation from OpenAPI schemas by alexander-alderman-webb in #771
  • Add Python type generation from OpenAPI schemas by alexander-alderman-webb in #769
  • Add schema for gen_ai.tool.definitions by alexander-alderman-webb in #767

Bug Fixes 🐛

  • (attributes) Describe pageload links for cache_origin and server_request by s1gr1d in #789

🤖 This preview updates automatically when you update the PR.

@s1gr1d
s1gr1d merged commit a1cba98 into main Nov 11, 2026
17 of 18 checks passed
@s1gr1d
s1gr1d deleted the sig/link-type-pageload branch November 11, 2026 10:20

This branch was successfully deployed

1 active deployment
Preview — 3c7310e9 Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants