Ma77Ball opened a new pull request, #9445:
URL: https://github.com/apache/texera/pull/9445

   ### What changes were proposed in this PR?
   - SyncExecutionResource.executeWorkflowSync, the POST 
/execution/{wid}/{cuid}/run entrypoint, now opens its own span (named after the 
method) carrying texera.workflow.id, texera.computing_unit.id, and 
texera.operator.count.
   - The span is made current so the existing 
WorkflowService.initExecutionService span nests beneath it, records any thrown 
exception, and ends in a finally so every early return and the error path are 
covered.
   - A synchronous run now produces a single end-to-end trace in Jaeger showing 
total execution time with the init step as a child, using the same TexeraTracer 
and SpanAttrs pattern already in WorkflowService.
   ### Any related issues, documentation, discussions?
   Closes: #9440
   ### How was this PR tested?
   - Run `sbt "WorkflowExecutionService/testOnly *SyncExecutionResourceSpec"` 
to confirm the entrypoint still behaves correctly.
   - The amber module could not be compiled locally because its JOOQ sources 
are generated against a database not available in this environment (a 
pre-existing build requirement unrelated to this change); CI compiles amber, so 
the reviewer should confirm the compile there.
   - On the single-node stack with observability up, run a sync execution and 
confirm a single trace appears in Jaeger for 
SyncExecutionResource.executeWorkflowSync with initExecutionService nested 
under it.
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.8 in compliance with ASF
   


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