Closed drice-buf closed 1 month ago
@andrewparmet I was able to get almost everything to pass with fairly minimal changes:
buf.yaml
alongside bufwork.yaml
:
BreakingWithWorkspaceTest/normally_breaking_schema_with_an_ignore
GenerateWithWorkspaceTest/buf_generate_with_default_template_file_path_explicitly_specifying
v2
buf.yaml
file instead of buf.work.yaml
BreakingWithProtobufGradleTest/normally_breaking_schema_with_an_ignore
. This test case runs into the json-vs-json buf breaking
issue.This should allow things to move forward. Next steps are to get the ignored test to pass and do add additional test coverage for cases that combine v2
buf.yaml
files with usage of the Protofbuf plugin.
I think there are still some test behaviors that need to be nailed down, but I think this is a reasonable milestone with all existing tests passing and minimal behavior changes.
For some reason a few tests were failing depending on how the Jackson object mapper was initialized. I will look into it further, but for now tests are all passing in CI.
All tests pass now. A couple of tests now specify an older Buf version.
Older comment:
This currently disables two tests in
BreakingWithProtobufGradleTest
:normally breaking schema with an ignore
schema with multi-directory workspace
I'm still trying to see if I can reasonably get them to pass.