Skip to content
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

In referenceclient, inspecting wire details needs to support compressed error bodies #811

Merged
merged 3 commits into from Feb 28, 2024

Conversation

jhump
Copy link
Member

@jhump jhump commented Feb 27, 2024

This also adds test cases -- both for the reference client's wire details functionality and also conformance test cases, to verify correct support in RPC client implementations for compressed errors.

There's also a small unrelated change so we don't bother validating the "debug" key in JSON error detail if the "value" bytes aren't correctly decoded. (Otherwise, it just reports spurious nonsense.)

Fixes #809

…error bodies and we should not bother comparing debug in error JSON if value could not be decoded
@jhump jhump requested a review from smaye81 February 27, 2024 21:19
@jhump jhump changed the title referenceclient: inspecting wire details needs to support compressed error bodies In referenceclient, inspecting wire details needs to support compressed error bodies Feb 28, 2024
@jhump
Copy link
Member Author

jhump commented Feb 28, 2024

cc @srikrsna-buf

@jhump jhump enabled auto-merge (squash) February 28, 2024 17:21
@jhump jhump merged commit 1716852 into main Feb 28, 2024
4 checks passed
@jhump jhump deleted the jh/wire-details-bugs branch February 28, 2024 17:33
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.

Runner should allow compressed error responses
2 participants