Skip to content

feat(dealer): add keepElapsed option to persist elapsed time - #957

Merged
YusukeHirao merged 1 commit into
devfrom
feat/dealer-keep-elapsed
Aug 24, 2026
Merged

feat(dealer): add keepElapsed option to persist elapsed time#957
YusukeHirao merged 1 commit into
devfrom
feat/dealer-keep-elapsed

Conversation

@YusukeHirao

Copy link
Copy Markdown
Member

Summary

  • Add TaskListRunOptions.keepElapsed (default false) so done/error lines can retain the step's final elapsed time instead of losing it once the step settles
  • keepElapsed is subordinate to showElapsed: when showElapsed: false, keepElapsed has no effect
  • verbose mode still disables the running-step timer as before, but the settled-line elapsed time follows keepElapsed independently (single-shot output, no log flooding)

Test plan

  • yarn lint
  • yarn build (with NX_WORKSPACE_ROOT_PATH for the worktree)
  • yarn test
  • Added unit tests covering: default (no elapsed on settle), keepElapsed: true on done/error lines, subordination to showElapsed: false, persistence in verbose mode, and independence across multiple steps

🤖 Generated with Claude Code

@YusukeHirao
YusukeHirao requested a review from yusasa16 as a code owner August 24, 2026 13:13
@YusukeHirao
YusukeHirao merged commit 4b3cc27 into dev Aug 24, 2026
7 checks passed
@YusukeHirao
YusukeHirao deleted the feat/dealer-keep-elapsed branch August 24, 2026 13:17
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