-
Notifications
You must be signed in to change notification settings - Fork 212
Fix broken test. #1254
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
Merged
Merged
Fix broken test. #1254
Conversation
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
This was referenced Oct 4, 2022
Merged
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
0cef7ad
to
20cf772
Compare
14185c4
to
b1ba499
Compare
20cf772
to
e9f9d4f
Compare
23fcf16
to
564a0f5
Compare
7cd06c4
to
d938cb9
Compare
298e778
to
69f223f
Compare
6ebb3e4
to
979f186
Compare
69f223f
to
d1bd2a5
Compare
inlined
approved these changes
Oct 5, 2022
979f186
to
7198471
Compare
08d37c1
to
f20fefb
Compare
colerogers
approved these changes
Oct 5, 2022
f20fefb
to
becfbb5
Compare
aab136a
to
8c63b28
Compare
becfbb5
to
753648c
Compare
taeold
added a commit
that referenced
this pull request
Oct 5, 2022
This PR make some sweeping changes! 1) We change the default behavior of the SDK so that any un-annotated configuration option that is resettable are given `RESET_VALUE`. Practically, this means that given a function configuration like this: ```js export const v2Req = onRequest( (req, res) => { res.sendStatus(200) }, ); ``` And you go ahead and change the memory configuration of the function using GCP Console or `gcloud` tool, we will revert the memory back to platform default on the next function deploy. 2) You may optionally opt-out of this behavior by setting `preserveExternalChanges` option: ```js exports.v1httpPreserve = functions .runWith({ preserveExternalChanges: true }) .https.onRequest((req, resp) => { resp.status(200).send("PASS"); }); functionsv2.setGlobalOptions({ preserveExternalChanges: true }); exports.v2http = functionsv2.https.onRequest((req, resp) => { resp.status(200).send("PASS"); }); ``` This change broke a lot of test. I broke up the change for fixing test cases in a separate PR #1254.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix all test cases that were broken by #1253.