-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Description
Describe the bug
When we have workflows that have blocks that run in parallel, we see an incorrect trace span. Instead of seeing the blocks that ran concurrently at the same level, we see them nested within one another. This misrepresents the workflow order and doesn't accurately reflect to the user that those blocks ran in parallel.
To Reproduce
Steps to reproduce the behavior:
- Go to workflow, create a workflow that executes two blocks in parallel
- Click on logs icon in the sidebar
- Navigate to the corresponding log for that workflow run and look at the trace span
- Notice that the trace span is nested, despite those two blocks having ran in parallel
Expected behavior
Instead of the agent 1 and agent 2 being in parallel in the trace span, we see agent 2 being nested in agent 1 despite them being two separate calls that were executed in parallel.
Screenshots
Sample workflow that can be used to re-produce the bug:

Reactions are currently unavailable

