EPAM AI DIAL Admin version
Admin: [FE]0.21.0-dev.148 [BE]0.21.0-dev.10
How to reproduce
- Login to Admin.
- Open any Test Suite that has a run with Running status, go to the Runs tab.
- Click the context menu (⋮) on the running run row → Stop.
- In the Stop confirmation modal, click the "Stop" button twice in quick succession (fast double-click, before any visual reaction from the UI).
Actual result
Two stop requests are sent. The first succeeds and the run is cancelled. The second request fails with a 409 Conflict because the run is already in CANCELLED status. The user sees both a "Run stopped" success toast and a "Conflict — Cannot cancel run with status: CANCELLED" error toast.
Expected result
Only one stop request is sent. The button should be disabled or the modal should close immediately after the first click, preventing the duplicate request.
Additional information
No response
Confidential information
I confirm that do not share any confidential information
EPAM AI DIAL Admin version
Admin: [FE]0.21.0-dev.148 [BE]0.21.0-dev.10
How to reproduce
Actual result
Two stop requests are sent. The first succeeds and the run is cancelled. The second request fails with a 409 Conflict because the run is already in CANCELLED status. The user sees both a "Run stopped" success toast and a "Conflict — Cannot cancel run with status: CANCELLED" error toast.
Expected result
Only one stop request is sent. The button should be disabled or the modal should close immediately after the first click, preventing the duplicate request.
Additional information
No response
Confidential information
I confirm that do not share any confidential information