Repository navigation
fix(web): freeze session run duration while the task is paused - #110
Merged
Merged
Conversation
Sessions keep state=running in the store during a task-level pause, so the sessions tab treated them as live and the run duration kept ticking with Date.now(), visibly advancing time while the task (and its deadline budget) was frozen. Pass taskPaused down from the detail page and pin the duration at the last recorded step while paused. Closes #84
murilosoave
pushed a commit
to murilosoave/ARTEX
that referenced
this pull request
Oct 25, 2026
feat(assets): 任务测试资产支持 DSL 搜索
murilosoave
pushed a commit
to murilosoave/ARTEX
that referenced
this pull request
Oct 25, 2026
fix(web): freeze session run duration while the task is paused
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Freezes the sessions-tab run duration while the task is paused.
Sessions keep state=running in the store during a task-level pause, so the sessions tab treated them as live and the duration kept ticking with Date.now() — visibly advancing time while the task and its deadline budget were frozen (the pause freeze is applied on resume per TestPauseShiftsTaskDeadlineOnResume).
Manual check path: pause a task with live sessions, watch the clock badge in the sessions tab header — it must freeze; resume — it ticks again from the last step.