You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Task page on remote runtimes: phantom 'Retry Implementing Changes 3' step and negative trace durations #3926
Seen in the 0.9.4 release-candidate test on a Fly instance with the Sprites runtime (propr-rc, the epic plus #3901/#3915), on both a Claude Sonnet 5.5 task (integry/propr-fly-fixture#148) and a Pi (GPT-6.2 Astra) task and follow-up (integry/propr-fly-fixture#150). Both show on the task page and will show in the launch video.
There was no retry. getClaudeExecutionLabel in propr-ui/src/components/TaskDetails/TaskStatusTable.tsx counts every CLAUDE_EXECUTION/CLAUDE_EXECUTION_STARTED history entry up to the item and labels anything past the first as Retry … <n>. On remote runtimes a third execution-state event arrives after "completed" (likely the result/patch transfer or a runtime phase that is not flagged by isAgentRuntimeEvent), so it is counted as attempt 3.
Fix at the source: find which event that is, emit it with a state or metadata that identifies it (for example "Collecting changes from the Sprite" with its duration), and count only real execution starts as attempts. Add a test with the remote-runtime event sequence.
2. Negative duration in the execution trace
The same run's EXECUTION TRACE shows SUMMARY -34s. Step durations must never be negative. Likely the summary step's time comes from a different clock or a different event than its start (agent output timestamps from the Sprite vs worker time, or the end time taken from an earlier event). Use one time source for each step's start and end (the worker's receipt time), clamp at 0 as a guard, and add a test with out-of-order or skewed timestamps.
Check both on the Fly Machines runtime and on local Docker too, and fix wherever they occur.
Activity
propr-dev commentedon Nov 30, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6.2-sol3926/gpt-6.2-sol-task-page-on-remote-runti-20261130-1452-3xi3758-epic-runtime-abstraction-sc0issue-3926-20261130-1452-gpt-6.2-sol-3xi🔍 Track Task Execution
fix: fix phantom retry steps and negative trace durations
integry commentedon Dec 1, 2026
Done in #3928, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.