Skip to content

fix(ui): show the state-actor Elapsed as a human-readable duration#279

Merged
skylenet merged 1 commit into
masterfrom
fix-elapsed-human-readable
Jul 9, 2026
Merged

fix(ui): show the state-actor Elapsed as a human-readable duration#279
skylenet merged 1 commit into
masterfrom
fix-elapsed-human-readable

Conversation

@skylenet

@skylenet skylenet commented Jul 9, 2026

Copy link
Copy Markdown
Member

Problem

On the run details page, the Database section rendered the state-actor generation time as a raw millisecond count:

Elapsed: 6,006,337 ms

Fix

Add a small formatDurationMs() helper to utils/format.ts (reusing the existing nanosecond formatDuration) and use it for the Elapsed field:

Elapsed: 1h40m6s

tsc -b and eslint clean.

The Database section rendered the generation time as a raw millisecond count
(e.g. "6,006,337 ms"). Add a formatDurationMs() helper (reusing the existing
nanosecond formatter) and render it as "1h40m6s".
@skylenet
skylenet merged commit 0eb0208 into master Jul 9, 2026
7 checks passed
@skylenet
skylenet deleted the fix-elapsed-human-readable branch July 9, 2026 15:26
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