Skip to content

Persist task execution stats#14

Open
jianbinwei0-blip wants to merge 1 commit into
tintinweb:masterfrom
jianbinwei0-blip:fix-issue-9-persist-task-stats
Open

Persist task execution stats#14
jianbinwei0-blip wants to merge 1 commit into
tintinweb:masterfrom
jianbinwei0-blip:fix-issue-9-persist-task-stats

Conversation

@jianbinwei0-blip

Copy link
Copy Markdown

Summary

  • persist execution start metadata when tasks enter in-progress/active states
  • backfill completed task execution stats for direct completions and resumed tasks
  • render live and completed task timing/token stats consistently in the task widget
  • add focused regression tests for persisted in-progress stats and completion backfill behavior

Tests

  • npm test -- task-widget
  • npm test

Fixes #9

Purpose: Persist task execution statistics across task lifecycle transitions.

Includes:
- Fix persisted task execution stats handling.
- Backfill stats for direct task completion.
- Persist execution start time when tasks begin.
pe200012 added a commit to pe200012/pi-tasks that referenced this pull request May 16, 2026
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.

add basic stats to each task

1 participant