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
- 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.
- 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.
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
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.