Skip to content

[BUG] Support for long running tasks through progress report not working #10478

@m-ibm

Description

@m-ibm

Problem (one or two sentences)

I have MCP tools that are long running tasks (minutes to hours).
These time out in RooCode even though I make sure to send every few seconds (usually 10) both a "still working .." message and set a progress value (without total, therefore this is just an ever increasing number) using the MCP context (ctx.report_progress() and ctx.log())

Note that, a less preferable, solution is to allow arbitrary timeout values.

Context (who is affected and when)

Everyone running long running tasks

Reproduction steps

Start a long running task which runs over the timeout set for the MCP server

Expected result

I expect progress report message to restart the timeout clock since tool is clearly not stuck

Actual result

Timeout for the task although tool keeps working

Variations tried (optional)

As mentioned above I tried:

  1. Sending ctx.log() messages
  2. Sending ctx.report_progress() messages

App Version

v3.37.0

API Provider (optional)

Not Applicable / Other

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [Needs Info]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions