You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multilevel function declaration deployment failed - this stoped working #6419
I've discovered something very strange.
This issue started yesterday after upgrading to 12.6.1, however, it shouldn't be related, but it's the only thing that changed.
Could not create or update Cloud Run service {function_name}, Container Healthcheck failed. Revision '{archive}' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
The logs are unhelpful and don't provide any clues.
now if I go and shuffle the index file around and have only one level of exports everything works perfectly. Zero problems.
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.
Hi @vincekruger, thanks for reporting this issue. I was able to replicate the error you mentioned using the sample code snippet you provided. I modified it a bit to include functions code:
The above code snippet would result in an error. However, as you mentioned, rearranging them to the code snippet below raises no errors during deployment:
Activity
google-oss-bot commentedon Sep 29, 2023
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.
aalej commentedon Sep 29, 2023
Hi @vincekruger, thanks for reporting this issue. I was able to replicate the error you mentioned using the sample code snippet you provided. I modified it a bit to include functions code:
The above code snippet would result in an error. However, as you mentioned, rearranging them to the code snippet below raises no errors during deployment:
Let me notify our team about this issue so that we can investigate the cause.
vincekruger commentedon Sep 29, 2023
Woohoo I'm not crazy! 🤪
joehan commentedon Oct 3, 2023
Should be fixed by #6423