Stop button

Stop ends the run, not only the view. One press reaches the tool that is running, the other server slot, the goal and the Ultracode jobs of the chat.

What one press on Stop reachesYou press Stop. The button shows Stopping and stays locked. The running tool ends and no late result lands in the chat. If the run sits on the other server slot, that slot gets the stop within a few seconds. A running /goal is paused and gets a Resume button. The Ultracode jobs of the chat are paused and their card gets a Resume button. When the server confirms the end, the button unlocks.3. One press reachesRunning tool endsno late result landsOther server slotgets the stop in seconds/goal is pausedResume buttonUltracode jobs of the chatpause, Resume on the card1. You press Stop2. Button shows Stoppingand stays locked4. Server confirms the endbutton unlocks
One press reaches the tool, the other server slot, the goal and the workflows of the chat.
Diagram as text
  1. You press Stop.
  2. The button shows Stopping and stays locked until the server confirms. If the request fails it is sent once more, and a second failure shows an error.
  3. The running tool ends. A result that arrives late is dropped.
  4. If the run sits on the other server slot, that slot gets the stop within a few seconds.
  5. A running /goal is paused instead of ended. Writing the next message does not restart it. The goal bar shows paused and a Resume button.
  6. Ultracode jobs of the chat are paused. Their card shows a Resume button that continues where they stopped.
  7. When the server confirms the end, the button unlocks.

We tested this with a replica of the tools, the server slots and the database. We have not yet watched it on a real long build inside a container.