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

Directly test bufbuild/protocompile, instead of going through jhump/protoreflect/desc/protoparse #12504

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

jhump
Copy link
Contributor

@jhump jhump commented Sep 16, 2024

I've recently merged a long-lived "v2" branch to main in the github.com/jhump/protoreflect repo. The v2 of that repo does not include a protoparse package, since that has been effectively replaced by github.com/bufbuild/protocompile. (Since v1.15 of protoreflect, the protoparse package is just API veneer on top of protocompile.)

After I did that merge of v2 to main, the fuzzer for the project began to fail since the packages are no longer present: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=71629
So this updates the fuzzer configuration to directly test the underlying protocompile module.

There was also a fuzz tester for the github.com/jhump/protoreflect/dynamic package, but it was not actually enabled. (It was disabled in #6369 but neither the PR description nor comment threads describe why this test was problematic 🤷.) Anyhow, that package has also been removed for v2, effectively replaced by google.golang.org/protobuf/types/dynamicpb. So this PR deletes it completely from the oss-fuzz repo.

…rotoreflect/desc/protoparse (which is now removed on main and is intentionally omitted from v2 of the module)
Copy link

jhump is integrating a new project:
- Main repo: https://github.com/bufbuild/protocompile
- Criticality score: 0.46626
jhump has previously contributed to projects/protoreflect. The previous PR was #5785

@jonathanmetzman jonathanmetzman merged commit 62f0f44 into google:master Sep 18, 2024
15 checks passed
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.

3 participants