From fefe902d41345a0de45fb70b98cd9265c7a21a12 Mon Sep 17 00:00:00 2001 From: Karthik Kalyanaraman Date: Mon, 13 Jul 2026 10:38:16 -0700 Subject: [PATCH] debug: enable DEBUG=workflow:* on nextjs-turbopack workbench deployments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Diagnostic for the world-vercel span-emission gap: current main deployments emit core spans (workflow.stream.flush, workflow.stream.read) but none of world-vercel's (workflow.stream.write/chunk_rtt, read.connect, generic http spans) — the signature of trace() running with a null tracer. The DEBUG-gated warn added in #2891 will print the @opentelemetry/api load-failure reason in this PR's preview function logs; its absence (with spans still missing) points at the dual-API-copy noop-tracer variant instead. Co-Authored-By: Claude Fable 5 --- .changeset/debug-world-vercel-otel.md | 2 ++ workbench/nextjs-turbopack/vercel.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changeset/debug-world-vercel-otel.md diff --git a/.changeset/debug-world-vercel-otel.md b/.changeset/debug-world-vercel-otel.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/debug-world-vercel-otel.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/workbench/nextjs-turbopack/vercel.json b/workbench/nextjs-turbopack/vercel.json index 613ec74002..bfead4f5cb 100644 --- a/workbench/nextjs-turbopack/vercel.json +++ b/workbench/nextjs-turbopack/vercel.json @@ -1,5 +1,6 @@ { "env": { - "WORKFLOW_PUBLIC_MANIFEST": "1" + "WORKFLOW_PUBLIC_MANIFEST": "1", + "DEBUG": "workflow:*" } }