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

Update to Protobuf v27.3 #247

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Update to Protobuf v27.3 #247

merged 1 commit into from
Aug 15, 2024

Conversation

timostamm
Copy link
Member

This update runs tests for Editions for implementations that support them. Tests for proto2 and proto3 always run.

v27.0 updated test_messages_proto2.proto to include an extension using a group. Unfortunately, protobuf.js is unable to parse the file, causing all proto2 tests to fail.

Comment on lines +54 to +63
// Returning a runtime error for the test Required.Proto3.ProtobufInput.UnknownOrdering.ProtobufOutput
// crashes the runner.
if (
is_Required_Proto3_ProtobufInput_UnknownOrdering_ProtobufOutput(request)
) {
return {
case: "protobufPayload",
value: new Uint8Array(),
};
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bug in the conformance runner. The test protocol allows clients to reply with a runtime error, which is considered a test failure. This specific test however does not allow the client to do so, and prematurely exits the test suite, making it impossible to skip or mark the test as known failing.

@timostamm timostamm merged commit 59ddb6a into main Aug 15, 2024
4 checks passed
@timostamm timostamm deleted the tstamm/Update-to-Protobuf-v27.3 branch August 15, 2024 17:52
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