denoland / deploy_feedback

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

Option to stop old instances or prevent preview Deployments #188

Open MikaelPorttila opened 2 years ago

MikaelPorttila commented 2 years ago

I was playing around with Deno Deploy and Discord bots and noticed that I start getting old code behavior and realized that there were multiple instances running and no option or way to prevent old instances of code to run in the Deno Deploy hosting environment.

A way to kill off preview deployment instances or even better an option to prevent them from being created in the first place would be great option.

vwkd commented 2 years ago

Related: https://github.com/denoland/deploy_feedback/issues/145

phocks commented 8 months ago

I think this is happening to me. I have an app that is running on Deno Cron that simply calls a webhook URL and it seems to be calling the webhook twice. I'm not really sure what to do. I wonder if there's something like if env equals development return I could call to bail out of environments that aren't production???