potiuk commented on code in PR #49180:
URL: https://github.com/apache/airflow/pull/49180#discussion_r2157415355
##########
airflow-core/src/airflow/models/dagrun.py:
##########
@@ -1016,7 +1016,7 @@ def set_dagrun_span_attrs(self, span: Span | EmptySpan):
def start_dr_spans_if_needed(self, tis: list[TI]):
# If there is no value in active_spans, then the span hasn't already
been started.
- if self.active_spans is not None and
self.active_spans.get(self.run_id) is None:
+ if self.active_spans is not None and self.active_spans.get("dr:" +
str(self.id)) is None:
Review Comment:
Nice. I like how we prefix the span ids.
--
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]