Repository navigation
feat(context): add w3c() helper for W3C trace fields - #228
Merged
Merged
Conversation
The dockerized-test workflow never runs pip on the runner — Python is only invoked inside the Dockerfile build using the base image's own Python. The 'cache: pip' directive on setup-python@v5 therefore ran its Post cleanup against an empty /home/runner/.cache/pip and failed the job even though all 12 dockerized suite cases passed. Also bumps actions/checkout to v5 to drop the Node 20 deprecation warning.
Stefan9283
approved these changes
Oct 5, 2026
M-Elsaeed
approved these changes
Oct 5, 2026
trivenay
approved these changes
Oct 5, 2026
This was referenced Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds context.w3c() which exposes allowlisted W3C trace-context fields (traceparent, tracestate, baggage) carried on clientContext.w3c, and strips w3c from clientContext so callers can only read trace fields through the helper.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.