I have made an queue trigger function that sends email adress to users using sendgrid, It has been running for almost a year and when I made any changes to it, it would run as expected.
I am always using the azure portal editor because I found it the easiest to use. The function runs on node.js and I dont use any deployment platforms to push code to it.
The problem started happening a few days ago when I made some changes to the code, and the portal would say that the code was successfully saved, even when I used the inbuild Run/Test it would run the new code but if I made queue using my website, even thought the queue had the new information it would still run the old code.
I've tried:
but still nothing changed.
Alright the fault was on my side I forgot and did not notice there was another function app in my azure portal that had the old code and when I looked at its invocations it was mostly the first one to run and then the new one did not because of it.
Moral of this story, please check all of your function apps to make sure that there is not some old dusted version of it that will make you problems like to me.