trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

bug: Alerts page creates duplicate alerts when Save is clicked multiple times

Open isshaddad opened this issue 7 months ago • 1 comments

Provide environment information

n/a

Describe the bug

On the Alerts page, clicking Save multiple times quickly creates multiple identical alert records. Expected behavior: only one alert should be created per intended save action (button should prevent repeat submissions and/or backend should enforce idempotency)

Reproduction repo

n/a

To reproduce

  1. Open Trigger.dev dashboard.
  2. Go to Alerts page.
  3. Create a new alert (fill valid fields).
  4. Click Save repeatedly in quick succession.
  5. Observe multiple duplicate alert records created.

Additional information

This appears more frequently on slower networks or higher latency connections, because the modal does not close immediately after the first click and the Save button remains interactable long enough for repeated submissions.

isshaddad avatar Apr 27 '26 15:04 isshaddad

@ericallam Just following up on this whenever you have a chance. Thanks!

Naresh-official avatar Jul 13 '26 05:07 Naresh-official