-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
GH-4155 - Increase gRPC message size #4455
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way we could add some test coverage of this? A test in each language that sends a very large string across the registerResource
RPC call?
bfa71ed
to
52861a6
Compare
}, | ||
}; | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these tests actually go through the RPC layer? I don't recall off the top of my head - but I feel like they do not? cc @pgavlin
One place we could add tests to be sure they hit the RPC is in /test/integration
. Those will run the full "normal" CLI/Engine/LangHost setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW - same likely applies to other languages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lukehoban yes they do. I made sure by checking that they fail on master with the same resource exhausted error. I can definitely add integration tests too but I am certain that these tests go through the langhost <-> engine RPC layer.
71dbd0e
to
9dff162
Compare
9dff162
to
281dc8c
Compare
281dc8c
to
0139b8f
Compare
9e75c51
to
2776a80
Compare
Okay! I added in the integration tests here, added the skipped Node.js test in Windows to the list in #3811 and I think we're good to go here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! 🎉
…rpc-message-size GH-4155 - Increase gRPC message size
Fixes: #4155
Related: pulumi/pulumi-policy#239
Comments:
1024 * 1024 * 400
number is referenced by creating a util function, but that only helps for the Go code. Is there a preferred way of adding such a widespread setting?