-
Notifications
You must be signed in to change notification settings - Fork 20.6k
Open
Labels
๐ bugSomething isn't workingSomething isn't working
Description
Summary
Parallel iteration has two timing distortions in backend tracing:
- child node elapsed time can be inflated because node finish events are buffered and replayed later
iteration_duration_mapcan be inflated because per-iteration duration is computed after buffered events are replayed
Reproduction
Run an iteration in parallel mode with an LLM node inside each iteration, especially when the iteration body emits buffered events or the consumer is slow.
Expected
- node-level elapsed time reflects the node's actual completion time
iteration_duration_mapreflects the iteration's actual worker runtime
Actual
- node elapsed time can include delayed replay time
iteration_duration_mapcan converge toward similar values across parallel iterations because replay delay is included
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
๐ bugSomething isn't workingSomething isn't working