The previousStartedAt keeps changing when the previous execution failed. The documentation states this should be the last successful execution.
Steps to reproduce:
- Add a log for the
previousStartedAt value and then a throw new Error('Fail'); line here
- Create an index threshold alert that runs every 10 seconds
- Notice
previousStartedAt keeps increasing but should represent the last successful execution
The
previousStartedAtkeeps changing when the previous execution failed. The documentation states this should be the last successful execution.Steps to reproduce:
previousStartedAtvalue and then athrow new Error('Fail');line herepreviousStartedAtkeeps increasing but should represent the last successful execution