-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add codebase config runtime to delegate context object #6964
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Looks good to me. Can you add a line to CHANGELOG.md saying: "Fixes bug detecting functions runtime from firebase.json (#6964)"? |
Added! 😄 |
@luc-mo It looks like the linter failed, could you run |
Fixed 😄 |
Description
Recently, I encountered an issue that arose unexpectedly during the deployment of firebase functions. The error occurs due the
runtime
field is not recognized in thefirebase.json
file, thereby causing a failure in the deployment.Fixes #6973
Deployment log:
Scenarios Tested
I conducted tests by installing other versions of the package and attempting to deploy, coming to the conclusion that it was an error introduced in version 13.6.1 where the
runtime
property was removed from thedelegateContext
object declaration. The error does not occur in versions previous to 13.6.1.I performed the test by doing an
npm link
of firebase-tools package and deploying my functions manually. These were deployed successfully.Deployment log with changes: