Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

feat(code): pause timer when awaiting user input - #1233

Merged
charlesvien merged 1 commit into
mainfrom
03-13-feat_code_pause_timer_when_awaiting_user_input
Mar 14, 2026
Merged

feat(code): pause timer when awaiting user input#1233
charlesvien merged 1 commit into
mainfrom
03-13-feat_code_pause_timer_when_awaiting_user_input

Conversation

@adboio

@adboioadboio commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

problem

agent timer does not pause when awaiting user input, so if you take a break, you'll get crazy times on the display

closeshttps://github.com/PostHog/code/issues/1227

changes

tracks pausedDurationMs , accumulated while the agent is waiting for input, and subtracted from display times

testing

manually tested locally - started a task - let it sit on permissions for a long time - verified timer did not include the waiting time after approving

@adboioGraphite App

adboio commented Mar 13, 2026

Copy link
Copy Markdown
ContributorAuthor

@charlesvienGraphite App

charlesvien commented Mar 14, 2026

Copy link
Copy Markdown
Member

Merge activity

  • Mar 14, 7:26 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 14, 7:26 PM UTC: @charlesvien merged this pull request with Graphite.

@charlesvien
charlesvien merged commit 05fc461 into mainMar 14, 2026
15 checks passed
@charlesvien
charlesvien deleted the 03-13-feat_code_pause_timer_when_awaiting_user_input branch March 14, 2026 19:26
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I feel like the timer should stop while it's waiting for input.

2 participants

@adboio@charlesvien