Skip to content

Web server stops after extended idle period, breaking browser interaction #84

Closed

Description

@bdbull

Description:
When a plan is left open in the browser for an extended period without interaction, the web server appears to stop. Once this occurs, the browser UI becomes unresponsive and plan approval/denial/feedback must be done via CLI instead.

Steps to Reproduce:

  1. Enter plan mode and open the plan in browser
  2. Leave the plan idle for an extended period (exact timeout TBD)
  3. Attempt to interact with the plan in the browser

Expected: Browser UI remains functional regardless of idle time

Actual: Web server becomes unresponsive; forced to fall back to CLI

Workaround: Use CLI for plan interactions when browser stops responding

Activity

  1. backnotprop commented on Jan 16, 2026

    @backnotprop
    Owner

    @bdbull which harness are you using, Claude Code or OpenCode

    • for claude code, I can increase the hooks timeout
    • for opencode this might indicate an actual bug because there should not be a timeout issue
  2. bdbull commented on Jan 16, 2026

    @bdbull
    Author

    @backnotprop I'm using Claude Code.

    Instead of increasing the timeout to an arbitrary number that will eventually get surpassed also (I left one session open overnight), maybe put the command to start the server back up in the footer of the plan or something.

  3. added a commit that references this issue on Jan 17, 2026
    d2b8f37
  4. backnotprop commented on Jan 17, 2026

    @backnotprop
    Owner

    Fixed in #88.

    The root cause is that Claude Code hooks manage the shell process that plannotator runs in, and hooks require a timeout configuration. Previously this was set to 30 minutes, which would kill the server during extended idle periods.

    We've increased the timeout to 4 days (345600 seconds), which should cover most use cases.

    There may be more sophisticated solutions (e.g., background process management, reconnection logic), but this is the simplest fix given how Claude Code hooks work - there's no easy way to restart the server once the hook process is terminated.

  5. added a commit that references this issue on Feb 13, 2026
    c9b25a5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions