xBis7 commented on code in PR #63839:
URL: https://github.com/apache/airflow/pull/63839#discussion_r2954035856


##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -486,6 +492,17 @@ def uuid7() -> UUID:
     return uuid6.uuid7()
 
 
+def _make_task_carrier(dag_run_context_carrier):
+    parent_context = (
+        TraceContextTextMapPropagator().extract(dag_run_context_carrier) if 
dag_run_context_carrier else None
+    )
+    span = tracer.start_span("notused", context=parent_context)  # 
intentionally never closed

Review Comment:
   @dstandish Why does it have to happen here? Can't we just start the parent 
task span and then access its IDs and persist them to the DB? The parent task 
span is created under core. I think there is db access there.



-- 
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]

Reply via email to