FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix an issue where updating a Cloud Function that retires would add incorrect fields to the updateMask by colerogers · Pull Request #8560 · firebase/firebase-tools · GitHub

Fix an issue where updating a Cloud Function that retires would add incorrect fields to the updateMask - #8560

Merged
colerogers merged 3 commits into
masterfrom
colerogers.fix-update-field-mask
May 13, 2025
Merged

Fix an issue where updating a Cloud Function that retires would add incorrect fields to the updateMask#8560
colerogers merged 3 commits into
masterfrom
colerogers.fix-update-field-mask

Conversation

colerogers commented May 13, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

During a deployment we add buildEnvironmentVariables to the Cloud Function on Creates/Updates. If the Update operation fails, then we'll retry using the same Cloud Function reference. This reference contains the new fields which the field mask on the retry to contain all buildEnvironmentVariables.$VAR. These are not recognized on the Cloud Functions API and will return a 400 - The updateMask field contains fields not existing in CloudFunction resource.

Comment thread CHANGELOG.md Outdated
Co-authored-by: Daniel Lee <danielylee@google.com>
colerogers enabled auto-merge (squash) May 13, 2025 16:45
colerogers merged commit 0d01bd5 into master May 13, 2025
github-project-automation Bot moved this from Approved [PR] to Done in [Cloud] Extensions + Functions May 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL