Skip to content

Run model: a live run's duration is now minus its start - #342

Merged
drewstone merged 1 commit into
mainfrom
fix/run-live-duration
Oct 27, 2026
Merged

drewstone merged 1 commit into
mainfrom
fix/run-live-duration

Conversation

@drewstone

Copy link
Copy Markdown
Owner

Round 29 truth fault (disco-ui-review 05:56Z): 22a's header read '53h 26m running' from 04:37Z on, and the Overview's 'Where the 53h 26m went' used the same figure, while the chart and Latest step read 54h 47m.

Cause: buildModel prefers the host's run.durationMs, which for a live run moves in jumps. Three reads at 05:57, 05:58 and 05:58Z all ended at 05:53:39Z, and at 05:43 it ended at 04:26Z. The run document isn't polled, but the workspace is, every 15 s while live.

Change: a live run's duration is now minus its start; a settled run keeps the host's figure. model.ts +1 -1.

Run ID: run_cb0acd68ebd3ffe593924ee346ed8c3c

The host's durationMs for a live run moves in jumps (22a read 53h 26m from 04:37Z to 05:43Z, and at 05:58Z still ended at
05:53:39Z), so the header's 'running' time and 'Where the time went' froze while the chart ran on. The workspace polls
every 15 s while live, so the model recomputes from the clock.
@drewstone
drewstone merged commit b0ab7d6 into main Oct 27, 2026
1 check passed
drewstone added a commit that referenced this pull request Oct 27, 2026
…tick (#341-#344) (#345)

0.90.41: run files phone frame, live duration, Check card, last hour tick

Ships merged #341, #342, #343 and #344: the run Files pane keeps its 80dvh frame on a phone, a live run's duration is now minus its start, the Check card points to the latest line in Checks instead of printing it, and the strip's last hour tick sits a whole step before the end clock. package.json +1 -1.

Run ID: run_c9c3fa4d167d8e14a2fd554bc4730081
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