Skip to content

fix: compute elapsed time and cost dynamically for running tasks#36

Merged
robotlearning123 merged 1 commit intomainfrom
fix/live-duration-tracking
Mar 4, 2026
Merged

fix: compute elapsed time and cost dynamically for running tasks#36
robotlearning123 merged 1 commit intomainfrom
fix/live-duration-tracking

Conversation

@robotlearning123
Copy link
Member

Summary

  • getTask() and listTasks() compute live durationMs for running tasks
  • Live costUsd pulled from AgentRunner.getRunningTasks()
  • cc-m list and cc-m status now show real-time values
  • All 66 scheduler tests pass

Closes #33

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robotlearning123 robotlearning123 merged commit 6e5b1c7 into main Mar 4, 2026
3 checks passed
@robotlearning123 robotlearning123 deleted the fix/live-duration-tracking branch March 4, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cost and duration tracking appears stale during long-running tasks

1 participant