denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

[Bug]: Project still running after deletion #483

Open terdampar opened 1 year ago

terdampar commented 1 year ago

Problem description

I was exploring about doing cron job in Deno Deploy with this library https://deno.land/x/deno_cron/cron.ts to make fetch post request to my discord server and it was a success but still running after i delete the project.

Steps to reproduce

  1. Open Deno Deploy playground
  2. Create webhook on discord
  3. Back to deno deploy, code the cron job every 2 seconds
  4. Saved and deployed
  5. Having success result, i got my message every 2 seconds
  6. I want it to stop, so i comment the cron job code
  7. Saved and deployed but still getting messages
  8. I delete the project
  9. Still getting messages
  10. After a while, (and in a moment of writing this), the message is actually stops.
  11. It was only a delay after all, i understand

Expected behavior

The project stops after code change and deletion.

Environment

Default playground

Possible solution

At least showing the UI that the project is in the process of deletion and wasn't fully stops.

Additional context

No response

phocks commented 10 months ago

This might be related to some of my experiences. I'm running a task on deno cron that fetches a URL webhook and there was a period where the old development webhook was being called at the same time as the production URL. Seems like there's old apps not being killed in the background or something...... very strange.