dstandish opened a new pull request, #67877:
URL: https://github.com/apache/airflow/pull/67877

   Extracts the execute-callable invocation (including the execution-timeout 
wrapper) from `_execute_task` into a dedicated `_run_execute_callable` helper 
decorated with `@detail_span("task.execute")`. This emits a child span around 
the actual task execution when the task span detail level is greater than 1, 
giving finer-grained tracing of where time is spent within a task run.
   
   Regular task failures mark the span as errored automatically via 
OpenTelemetry. `AirflowTaskTimeout` inherits from `BaseException`, which 
OpenTelemetry does not auto-record, so the timeout handler sets the span status 
to `ERROR` explicitly.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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