Skip to content
AnswerWell geo Documentation

Research · 5 min read · Answerwell

Worker Subrequest Tracing, Durable Objects, and Automatic Span Propagation

When Cloudflare Workers call Durable Objects or subrequests, how automatic tracing keeps one distributed trace—and where to confirm behavior.

This page summarises Cloudflare’s developer documentation around automatic tracing across Durable Object and Worker subrequests, announced on the developer changelog for 7 May 2026. The cluster centres on that Workers observability change; peripheral changelog index pages in the same period only list dates and are useful mainly for spotting when related platform notes ship. If you operate Workers that fan out to other Workers, fetch subrequests, or Durable Objects, you typically need one continuous trace across those hops—not a separate trace per call—so latency and errors stay tied to the request your user actually made.

Worker subrequests: why traces split without propagation

Section titled “Worker subrequests: why traces split without propagation”

A Worker subrequest is any outbound call your Worker makes while handling an incoming request—for example another Worker route, an origin fetch, or a binding-backed call. A Durable Object is a strongly consistent, single-threaded isolate you address by name; production paths often chain an edge Worker → subrequest → Durable Object stub.

Without propagation, each hop can start a new root trace. Dashboards then show unrelated spans, double-count time, or hide which user-facing request triggered a failed fetch. Automatic tracing (in the sense of Cloudflare’s changelog title) means the platform carries trace context across those Worker and Durable Object subrequest boundaries so children attach to the parent span instead of you stitching IDs by hand.

Automatic tracing across Durable Objects and Worker subrequests

Section titled “Automatic tracing across Durable Objects and Worker subrequests”

Cloudflare announced the feature under this exact name:

May 7, 2026

— Cloudflare, Automatic tracing across Durable Object and Worker subrequests

The title states the scope plainly: tracing is automatic (not only when you add manual headers or wrappers), and it applies across both ordinary Worker subrequests and calls into Durable Objects. For operators, the practical question is whether a slow Durable Object method or a nested fetch appears under the same trace as the triggering HTTP request in your observability UI.

How this differs from manual trace headers

Section titled “How this differs from manual trace headers”

Manual propagation usually means reading an incoming trace context (for example W3C traceparent), copying it onto every outbound request, and hoping each callee continues the chain. Automatic propagation shifts that burden to the runtime for the paths named in the announcement—Worker subrequests and Durable Object calls—so nested platform traffic is more likely to stay correlated even when application code never touches tracing APIs.

That does not remove the need for good span names and attributes in your own code; it addresses topology (parent/child relationships across Workers platform hops) rather than business-level instrumentation.

Durable Objects are often the deepest hop in a Worker graph: session state, coordination, or per-tenant serialization. When tracing is discontinuous, a Durable Object stall looks like an orphaned spike with no link to the API route that enqueued work.

With automatic tracing across Durable Object subrequests, the expectation—consistent with the announcement wording—is that invocations through the Durable Object stub participate in the same distributed trace as the Worker that created the stub, subject to whatever limits Cloudflare documents on the changelog post. When you debug, you should be able to walk from the edge request span into Durable Object work without exporting logs and matching timestamps by hand.

The same title explicitly covers Worker subrequests, not only Durable Objects. Common patterns include a façade Worker that calls an internal Worker via a service binding or a routed hostname. Each hop is a subrequest; without propagation, every internal Worker looks like a new entry point. Automatic tracing targets that gap so internal micro-Workers remain visible as children of the public entry Worker.

Staying current via Cloudflare developer changelogs

Section titled “Staying current via Cloudflare developer changelogs”

Platform changes rarely appear only on a single post. Cloudflare groups Workers-related notes on product and product-group changelogs:

Changelog Typical use
Workers product changelog Workers runtime, bindings, and observability notes (includes entries dated May 7, 2026 and May 1, 2026 in the current index)
Developer platform product group Broader developer-platform releases (index shows May 8, May 7, May 4, and May 1, 2026 among recent dates)
Automatic tracing across Durable Object and Worker subrequests Dedicated write-up for this tracing change

Use the product changelog when you want “what changed in Workers this week”; use the dedicated post when you need semantics for Durable Object and subrequest traces.

Common mistakes when reading Worker traces

Section titled “Common mistakes when reading Worker traces”
  1. Treating each Worker as its own service entry — Service-boundary Workers are often subrequests. If spans look like separate roots, check whether you are on a build that includes automatic subrequest tracing or whether the call path is outside the announced scope.
  2. Ignoring Durable Object latency as “mystery CPU” — Without linked spans, DO time disappears into generic Worker duration. After upgrading, compare whether DO-RPC-style calls nest under the parent.
  3. Assuming automatic tracing replaces custom spans — Platform propagation links hops; you still need meaningful operation names for business logic blocks.
  4. Relying on old mental models after changelog dates — The Workers changelog and developer platform changelog are the supported way to notice companion changes shipped the same week (for example other May 2026 Workers notes), not guesswork from dashboards alone.
  1. Read Automatic tracing across Durable Object and Worker subrequests and note any prerequisites, supported call types, or dashboards Cloudflare names there.

  2. Skim the Workers product changelog around the May 7, 2026 entry so you do not miss adjacent Workers or observability changes released the same period.

  3. Deploy or exercise a minimal path you already use in production: entry Worker → subrequest (second Worker or fetch) and, if applicable, Durable Object stub call. Trigger one identifiable request ID or header you can grep in logs.

  4. In your Cloudflare Workers observability or tracing UI (as described on the announcement page), open the trace for that request and confirm nested subrequest and Durable Object spans appear as descendants of the root rather than unrelated traces.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page disagrees with Cloudflare’s changelog or your observed trace shape, write to yimasynthetic@gmail.com with the page URL, the statement you think is wrong, and (if possible) a redacted trace screenshot or request id so it can be corrected.