Lag time to live for a large number of newly published functions?

Site: wheelscreener.netlify.app

This one was a spooky one: I migrated all of my functions from vanilla javascript to a build process with typescript (so granted a large function migration), but after the build was deployed, and I could see all the correct functions in the Netlify UI, I was having issues testing my signup flow - it’s not that there was an error in the functions - it was as if they weren’t even being called!

My guess is with such a big source migration the AWS lambda source is somehow cached or still propagating in the background - I guess my question is if there is a way to monitor when the function really is available? I thought I could trust the Netlify functions UI, but there was a good 20-30 minutes where my identity-signup handler was totally broken. It finally started working again as expected after I shipped 1 or 2 more builds with some extra logging in the functions as an insanity check - but this could be bad news bears if the site has high signup traffic!

I monitor my functions with various logs, so I know they weren’t having any issues. Again, it is almost like they just weren’t being called.

Wondering if anyone else had ever seen such behavior after a big function migration.

hi @fullStackChris - sorry to be slow to reply. We have been a bit underwater this week! I have looked around and we don’t have any reports of something like what you are describing (which doesn’t mean it’s not happening). I will try and get some :eyes: on this soon. thanks for your patience!

I think I am experiencing something similar right now. I’ve deployed new logging to the functions to get more info several times now and I still see output from the old version.

Hey there, @radekznfa :wave:

Thanks for following up on this thread. I am sorry to hear that you are encountering an obstacle. Can you please share your site URL, your deploy log, and any debugging steps you have taken?

Thanks

Thanks Hilary, it was “own goal” type of situation. The repository changed ownership and it was pointed at old fork of the project hence my changes were not being deployed. After re-linking updates are now showing.

Hey there, @radekznfa :wave:

Thanks for letting us know everything is working now. Happy building :rocket: