#1 Fix execution duration calculation - started_at overwritten on wake-up

closed high Created 2025-11-24 23:33 · Updated 2025-11-24 23:34

Description

Edit
Bug: In orchestrator.py line 331, whenever a workflow wakes from sleep and transitions to running state, it unconditionally updates started_at = datetime.now(). This overwrites the original start time, causing duration_ms to only reflect the time of the final wake-up cycle, not the total workflow duration. Fix: Only set started_at if it hasnt been set before.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...