Closed tony-gutierrez closed 7 years ago
I understand that running into issues can be frustrating, but statements like This is all hella confusing (typical MS). Can we get some straight answers? are counter productive to trying to solve issues. Please refrain from including those if your goal is to get the issue investigated.
Yes, funcpack does get run automatically on functions repo when that App Setting is set. e.g. try pushing https://github.com/davidebbo-test/FunctionAppWithBigNpm. If you have a repo for which it doesn't work, please share a sample repo. Thanks.
Verified that funcpack does not run, and the documentation on this site is wrong, or at a minimum incomplete. There is nothing in the default deploy.cmd that does anything with regards to that env variable or funcpack. If this wasn't par for the course for everything Azure, I would be much less likely to point out the fact that it is indeed typical.
Also there doesnt appear to be anything unique in the repo you linked to that "turns on" or activates any azure funcpack capability. Since it is not in the default deploy.cmd, the repo used is irrelevant.
Not to mention that it is just sad that we have to resort to spending days trying to find funcpack answers just to get some decent speed out of azure functions waking up. This is not a problem on aws lambda.
If anyone else is running into this see https://github.com/projectkudu/kudu/issues/2548 for a possible reason.
I see documentation here https://github.com/projectkudu/kudu/wiki/Configurable-settings indicating that I can set SCM_USE_FUNCPACK=1
This doesn't appear to have any effect. There is nothing in my azure deploy.cmd file that has anything to do with funcpack. However I do see a deploy.cmd file floating around the web that is the same version as mine (1.0.15) and does have refs to funcpack.(https://codegists.com/snippet/batchfile/deploycmd_baio_batchfile)
This is all hella confusing (typical MS). Can we get some straight answers?