Skip to content

[BUG] Critical: "Cancel" button works like crap #9435

@jwadow

Description

@jwadow

Problem (one or two sentences)

The "Cancel" button always annoyed me with its strange delay and odd wait. But in some cases, it simply freezes the process, because the endpoint is unreachable or has a very long ping.

Context (who is affected and when)

The problem isn't just with this specific situation. It's with the entire "Cancel" button. It either causes strange micro-delays, or 1-2 second delays, or, in extreme cases, a little over a minute.
During these moments, it's impossible to click anything, impossible to start a new chat, impossible to do anything.

Related Issue, which is made worse by a broken "Cancel" button: #9438

Reproduction steps

The best way to trigger and test this cursed cancel button:

I don't know if you'll be able to reproduce it exactly, as I have my own agent mode prompts. But for the sake of clarity, I chose the native "Ask" mode.

  1. Create OpenAI Compatible fake endpoint with dummy URL
  2. Try to start chat with Roo (or continue other chat)
  3. After 1-2 seconds try to press "Cancel"
  4. Wait ~70 seconds until every button in Roo Code will function
Code_hDpelPlCB6.mp4

Expected result

Cancel button CANCELS

Actual result

Cancel button forever waiting

Variations tried (optional)

No response

App Version

3.33.2

API Provider (optional)

None

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/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions