Skip to content

Continue the server trace in the browser pageload on Cloudflare Workers #26771

Done

Description

@chargome

On Node, the browser pageload continues the server trace because @sentry/node adds a Server-Timing header with sentry-trace and baggage to document responses (addServerTimingTraceHeader). @sentry/cloudflare has nothing like it, so on Workers the pageload starts a new trace.

This is not Solid-specific. Solid 2 shows it because it relies on the Server-Timing header and has no <meta> tag injection in production builds.

Add the same header in @sentry/cloudflare (in withSentry's request handling, for document responses that shared caches can't store), then turn on the trace propagation test of the solid-2-ssr Cloudflare variant.

Done when

  • A Workers app's document responses carry the Server-Timing trace header.
  • The solid-2-ssr (cloudflare) trace propagation test runs and passes.

Activity

  1. linear-code commented on Nov 23, 2026

    @linear-code
  2. self-assigned this
    on Nov 23, 2026
  3. added a commit that references this issue on Nov 24, 2026
    b7880bd
  4. github-actions commented on Nov 25, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #26774, which was included in the 11.18.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions