Deleting automation and publishing app did not remove automation from test production environment #7865
Labels
bb-automations
Budibase Automations related work
bug
Something isn't working
env - test
Bug found in test env
Hosting
yarn dev
Describe the bug
Publishing a cron job automation that prints a log cannot be removed when testing in the dev environment, even after publishing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When testing locally, deleting an automation should be reflected upon publishing the app.
Screenshots
![Screenshot 2022-09-21 at 09 46 15](https://user-images.githubusercontent.com/101575380/191459002-73be0e23-ce25-4569-bfed-ac9de0a27b5f.png)
It says I have 7 automations
![Screenshot 2022-09-21 at 09 47 38](https://user-images.githubusercontent.com/101575380/191459301-b81d8024-9d1a-4bda-9975-b0866f9d9085.png)
But I have 5...
![Screenshot 2022-09-21 at 09 48 08](https://user-images.githubusercontent.com/101575380/191459412-bb4d89c0-1586-427b-91ff-5242d9ca10aa.png)
Cron jobs still running
![Screenshot 2022-09-21 at 09 48 28](https://user-images.githubusercontent.com/101575380/191459497-d5826a27-bd46-4bb1-aba7-85c4e9fce77e.png)
App Export
Automation History Example-export-1663750127781.txt
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: