monosi
monosi copied to clipboard
On source deletion, executions status stays running
Description
If a source is deleted during an execution, the status of that execution stays running.
Expected behavior
When a source is deleted, the execution should be stopped (and probably removed).
Steps to reproduce
- Add a data source
- Wait until an execution is running
- Delete the data source while an execution is running
- Navigate to executions page
- See error
We will need to hit the APScheduler API to stop an execution when a job is deleted.