close
Skip to content

gateway-forwarded requests incorrectly marked as non-root#2381

Merged
fredr merged 1 commit intomainfrom
fredr/fix-trace-header-order
Apr 7, 2026
Merged

gateway-forwarded requests incorrectly marked as non-root#2381
fredr merged 1 commit intomainfrom
fredr/fix-trace-header-order

Conversation

@fredr
Copy link
Copy Markdown
Member

@fredr fredr commented Apr 7, 2026

The tracestate refactoring in 851a715 caused the gateway's parent span ID to be restored from encore/span-id after it was already cleared, making the request non-root. Move the gateway check after tracestate parsing so it has final say on parent_span_id.

@fredr fredr self-assigned this Apr 7, 2026
@fredr fredr requested a review from eandre April 7, 2026 08:12
@fredr fredr merged commit 0eb4203 into main Apr 7, 2026
6 checks passed
@fredr fredr deleted the fredr/fix-trace-header-order branch April 7, 2026 08:14
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.

2 participants