feat: Triger bidi conformance tests#1757
feat: Triger bidi conformance tests#1757chandra-siri wants to merge 3 commits intopass_routing_token_correctlyfrom
Conversation
Summary of ChangesHello @chandra-siri, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly improves the infrastructure for running bidirectional conformance tests against a gRPC testbench. It introduces a more flexible gRPC client setup for testing, adds a utility to manage the testbench server lifecycle, and refactors existing conformance tests to leverage these enhancements and integrate with the Highlights
Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request enhances test coverage by introducing conformance tests for bidirectional reads and writes, and refactors the AsyncGrpcClient. It also addresses minor metadata handling issues in async_read_object_stream.py and async_write_object_stream.py. A medium-severity vulnerability was identified concerning the create_insecure_channel feature, which, despite being for testing, could lead to unencrypted data transmission in production if misused. It is recommended to implement safeguards, such as an environment variable guard, to prevent this. The addition of _utils.py further supports these conformance tests.
feat: Triger bidi conformance tests