next.js
b6257d77 - Fix OTEL propagation and add direct entrypoint e2e coverage (#90181)

Commit
59 days ago
Fix OTEL propagation and add direct entrypoint e2e coverage (#90181) ## Summary - update tracing propagation behavior so forced extraction does not drop active context when no remote span context is present - keep existing custom-server OTEL e2e coverage intact - add a new production e2e scenario that invokes the built app entrypoint handler directly (without next-server wrapper) and asserts incoming trace context propagation ## Testing - pnpm testonly-dev-turbo test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts -t "opentelemetry with custom server" - pnpm testonly-start-turbo test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts -t "direct entrypoint handler" - pnpm testonly-start-turbo test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts -t "opentelemetry with custom server" x-ref: https://vercel.slack.com/archives/C0AFFL7EDSR
Author
Parents
Loading