yulit0738 commented on PR #64087:
URL: https://github.com/apache/airflow/pull/64087#issuecomment-4108434343
@uranusjr
Updated — now using `self.context_carrier or {}` instead of the early
return, so OTel receives a valid carrier and emits a root span per spec.
You were right that this should go through the same code path. The only
issue was `None` specifically — `DefaultGetter.get()` calls `carrier.get(key,
None)` which raises `AttributeError` on `None`. The `or {}` lets OTel handle it
naturally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]