Skip to content

Conversation

iunanua
Copy link
Contributor

@iunanua iunanua commented Sep 12, 2025

Changes

Implement IntoIterator for TraceState by relying into the TraceStateIter iterator.

Notes

Now the only way to extract the different entries of the TraceState is using the header() or header_delimited() methods, making it impossible to avoid allocations.
That's why providing an iterator can be valuable in certain cases where it's necessary to know the TraceState entries while avoiding serialization.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@iunanua iunanua requested a review from a team as a code owner September 12, 2025 15:29
Copy link

codecov bot commented Sep 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.6%. Comparing base (6f75c58) to head (87cbdfc).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3164   +/-   ##
=====================================
  Coverage   80.6%   80.6%           
=====================================
  Files        126     126           
  Lines      22195   22241   +46     
=====================================
+ Hits       17898   17944   +46     
  Misses      4297    4297           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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