Title: [BUG] Trace Span Parallel Execution Issue · Issue #110 · simstudioai/sim · GitHub
Open Graph Title: [BUG] Trace Span Parallel Execution Issue · Issue #110 · simstudioai/sim
X Title: [BUG] Trace Span Parallel Execution Issue · Issue #110 · simstudioai/sim
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 misrepresent...
Open Graph 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 nest...
X 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 nest...
Opengraph URL: https://github.com/simstudioai/sim/issues/110
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Trace Span Parallel Execution Issue","articleBody":"**Describe the bug**\nWhen 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.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Go to workflow, create a workflow that executes two blocks in parallel\n2. Click on logs icon in the sidebar\n3. Navigate to the corresponding log for that workflow run and look at the trace span\n4. Notice that the trace span is nested, despite those two blocks having ran in parallel \n\n**Expected behavior**\nInstead 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.\n\n**Screenshots**\nSample workflow that can be used to re-produce the bug:\n\n\nCorresponding logs for the above workflow:\n\n","author":{"url":"https://github.com/waleedlatif1","@type":"Person","name":"waleedlatif1"},"datePublished":"2025-03-17T07:48:00Z","url":"https://github.com/simstudioai/sim/issues/110"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3ffa8ed9-8c1e-2321-5adc-ec7e36c50fc6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C94E:19C898:124FDA:1A6EB3:6AFB2AE1 |
| html-safe-nonce | c2c77a452498645f7a04b86d17abae1aac80cdfaef7cfe1bcda918372753b3f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTRFOjE5Qzg5ODoxMjRGREE6MUE2RUIzOjZBRkIyQUUxIiwidmlzaXRvcl9pZCI6IjU1Nzc4MDAxMzQxOTc3MTc3MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 60e024853ddc4ec7cddbad95ffafd905e120397bf89a6e625e4fdd45e8e7508f |
| hovercard-subject-tag | issue:2924066627 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simstudioai/sim/110/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0757a05a1dcf9e44afb54faea69e71fd00e86b6afb9daf8dba4cc31326d10704/simstudioai/sim/issues/110 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0757a05a1dcf9e44afb54faea69e71fd00e86b6afb9daf8dba4cc31326d10704/simstudioai/sim/issues/110 |
| og:image:alt | 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 nest... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waleedlatif1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 40c7ffe00e8bbb3ca8403c83d7ef110379c9eba2cbc7a7c333b037ffd940d4e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f494d77c37809e03e18d49c6e9945c57e0b64070 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width