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

[TRI-653] When a Job is canceled, and then retried, a canceled Delay doesn't change state in the UI to in-progress.

Open samejr opened this issue 2 years ago • 0 comments

Steps to reproduce

  1. Create a Job that has a delay in it (30 seconds or something short so you can press the cancel button but it doesn't take forever to test)
  2. Run the Job
  3. Cancel the Run while the delay is running
  4. Then press "Rerun" and "Retry"
  5. The Delay task still says it is canceled and doesn't show the timer counting down (it is actually running)

To fix this the state of the Task needs resetting if it's canceled and rerun.

From SyncLinear.com | TRI-653

samejr avatar Jul 13 '23 16:07 samejr