Skip to content

[Bug]: Recurring /task timeout after 5 minutes #73

@shanekunz

Description

@shanekunz

What is broken?

I’m not positive this is a bug in the upstream repo, but my port of the ‘/task’ feature was using ‘session.prompt(...)’ code to spawn the opencode job, and it silently timed out after 5 minutes with no output sent to Telegram.

Steps to reproduce

  1. Create a ‘/task’ that often will take longer than 5 minutes. An example is a “Ralph loop” where each agent is trying to complete a big chunk of a long list of tasks.
  2. Notice no output is ever delivered.

OS

No response

Additional context (optional)

I believe the fix is to use ‘ promptAsync(...)’. I got it working in uncommitted changes in my fork, but the code is far from solid at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions