Skip to content

fix: propagate parent span to spawned ObjectWriter tasks#3609

Merged
albertlockett merged 1 commit intomainfrom
albert/writer-span-propagate
Mar 26, 2025
Merged

fix: propagate parent span to spawned ObjectWriter tasks#3609
albertlockett merged 1 commit intomainfrom
albert/writer-span-propagate

Conversation

@albertlockett
Copy link
Copy Markdown
Contributor

Propagate the parent span context to tasks spawned by ObjectWriter's AsyncWrite implementation. This is needed for callers might have tracing subscribers they're using for observability over write events, and without accurately having the span context propagated, tracing events that happen inside the spawned task are difficult to associate with the invoking write call.

@github-actions github-actions Bot added the bug Something isn't working label Mar 26, 2025
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.69%. Comparing base (20cde3b) to head (91227de).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3609      +/-   ##
==========================================
+ Coverage   78.67%   78.69%   +0.01%     
==========================================
  Files         258      258              
  Lines       96817    96823       +6     
  Branches    96817    96823       +6     
==========================================
+ Hits        76172    76196      +24     
+ Misses      17578    17559      -19     
- Partials     3067     3068       +1     
Flag Coverage Δ
unittests 78.69% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@albertlockett albertlockett merged commit 2c4fe13 into main Mar 26, 2025
30 checks passed
@albertlockett albertlockett deleted the albert/writer-span-propagate branch March 26, 2025 14:50
Jay-ju pushed a commit to Jay-ju/lance that referenced this pull request Mar 28, 2025
…t#3609)

Propagate the parent span context to tasks spawned by ObjectWriter's
AsyncWrite implementation. This is needed for callers might have tracing
subscribers they're using for observability over write events, and
without accurately having the span context propagated, tracing events
that happen inside the spawned task are difficult to associate with the
invoking write call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants