mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Add a confirmation dialog before archiving an agent that is actively running from the Agents UI. This PR came about as feedback on PR 23758: https://github.com/coder/coder/pull/23758#issuecomment-4160424938. Active agents now require confirmation before archive interrupts the current run, while inactive agents keep the existing one-click archive behavior. <img width="450" height="242" alt="image" src="https://github.com/user-attachments/assets/98ce6978-d2d6-440b-9841-3806038556ee" />