-
Notifications
You must be signed in to change notification settings - Fork 18
Labels
bugSomething isn't workingSomething isn't working
Description
OpenRAG Version
0.2.0
Deployment Method
uvx (uvx openrag)
Operating System
macOS 26.2
Python Version
3.13.11
Affected Area
Frontend (Next.js UI, components)
Bug Description
Clicking on a task to cancel it results in a toast notification to say that it was successfully cancelled. However, the task remains in the task list and you can click "cancel" again (which causes a toast with an error, saying "task not found"). The task only disappears from the list after a short delay.
Steps to Reproduce
- Start uploading documents to knowledge
- Open the task sidebar
- Cancel a task
Expected Behavior
- The cancel button should not be clickable again while the task is cancelled
- Once the task is cancelled it is immediately removed from the task list
Actual Behavior
- You can click the cancel button many times, causing not found errors
- The task remains on the page for a short while
Relevant Logs
Screenshots
tasks2.mp4
Additional Context
This seems as though the interface is being periodically re-rendered, which is possibly connected to #817.
Checklist
- I have searched existing issues to ensure this bug hasn't been reported before.
- I have provided all the requested information.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working