Skip to content

Fixes some otel and nested burr application bugs#590

Merged
skrawcz merged 2 commits intomainfrom
stefan/fix_nested_otel
Nov 10, 2025
Merged

Fixes some otel and nested burr application bugs#590
skrawcz merged 2 commits intomainfrom
stefan/fix_nested_otel

Conversation

@skrawcz
Copy link
Contributor

@skrawcz skrawcz commented Oct 23, 2025

This was caught trying to run nested burr with otel.

Changes

  • otel and application with respect to keys

How I tested this

  • locally

Notes

Checklist

  • PR has an informative and human-readable title (this will be pulled into the release notes)
  • Changes are limited to a single goal (no scope creep)
  • Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future TODOs are captured in comments
  • Project documentation has been updated if adding/changing functionality.

This was caught trying to run nested burr with otel.
@github-actions
Copy link

github-actions bot commented Oct 23, 2025

A preview of bf2b632 is uploaded and can be seen here:

https://burr.dagworks.io/pull/590

Changes may take a few minutes to propagate. Since this is a preview of production, content with draft: true will not be rendered. The source is here: https://github.com/apache/burr/tree/gh-pages/pull/590/


def test_burr_tracking_span_processor_on_end_with_none_tracker():
"""Test that on_end handles None tracker gracefully without raising an error."""
processor = BurrTrackingSpanProcessor()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we need all this mocking? IIRC I wrote this to be easier to unit test...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pointer?

Important that mocks use `spec=` where possible.
@skrawcz skrawcz merged commit fc2f144 into main Nov 10, 2025
1 check passed
@skrawcz skrawcz deleted the stefan/fix_nested_otel branch November 10, 2025 04:15
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