Skip to content

feat(extension): show elapsed time during step execution#8

Merged
johnazariah merged 1 commit intomainfrom
workflow/show-elapsed-time-during-step-execution-in-vs-code-ext
Feb 21, 2026
Merged

feat(extension): show elapsed time during step execution#8
johnazariah merged 1 commit intomainfrom
workflow/show-elapsed-time-during-step-execution-in-vs-code-ext

Conversation

@johnazariah
Copy link
Copy Markdown
Owner

Summary

Adds a live elapsed time counter to the step streaming header in the VS Code extension.

Before: \Executing...
After: \Executing... (12s)\ → \Executing... (1m 23s)\ → \✓ Completed (1m 45s)\

Changes

  • \showStepStreaming(): starts a 1-second interval timer
  • Header updates with formatted elapsed time
  • \ inalizeStepStreaming(): stops timer, preserves duration in final status
  • \ ormatElapsed(): formats seconds as \12s\ or \1m 23s\

Created by Aura

Add a live elapsed time counter to the step streaming header.
When a step is executing, the header shows 'Executing... (12s)'
and updates every second. When done, the final duration is preserved
in the completed/failed header.

Changes:
- Add stepTimers map and formatElapsed helper
- Start interval timer in showStepStreaming()
- Clear timer and show final duration in finalizeStepStreaming()
- Support mm:ss format for executions over 60 seconds

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@johnazariah johnazariah marked this pull request as ready for review February 21, 2026 11:48
@johnazariah johnazariah merged commit bd3ea4d into main Feb 21, 2026
4 checks passed
@johnazariah johnazariah deleted the workflow/show-elapsed-time-during-step-execution-in-vs-code-ext branch February 21, 2026 20:29
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.

1 participant