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

Fix fuzzing #3800

Merged
merged 5 commits into from
Apr 4, 2024
Merged

Fix fuzzing #3800

merged 5 commits into from
Apr 4, 2024

Conversation

gguillemas
Copy link
Contributor

@gguillemas gguillemas commented Apr 3, 2024

Thank you for submitting this pull request! We really appreciate you spending the time to work on these changes.

What is the motivation?

Fuzzing was broken after some changes in optional features that were reverted in #3793. Fuzzing was also broken due to some types missing the arbitrary trait. The motivation for this PR is to fix fuzzing and ensure that it does not accidentally break again.

What does this change do?

This PR adds the missing arbitrary traits and incorporates a new job in CI to check that fuzzers can be build independently and in the OSS-Fuzz environment. This action will still fail until OSS-Fuzz uses the required 1.77 version of Rust. The change in google/oss-fuzz#11777 now explicitly references nightly to be used for SurrealDB. The CI job that checks the build of OSS-Fuzz has been allowed to fail, as this PR needs to be merged before the previously mentioned PR can be merged on OSS-Fuzz, as it requires the changes in this PR to pass its own build.

What is your testing strategy?

Use the new action to verify that fuzzers build correctly.

Is this related to any issues?

No. This is related to the fuzzing build errors returned by OSS-Fuzz.

Does this change need documentation?

  • No documentation needed

Have you read the Contributing Guidelines?

@gguillemas gguillemas marked this pull request as ready for review April 3, 2024 16:02
@gguillemas gguillemas requested a review from a team April 3, 2024 16:02
@gguillemas gguillemas requested review from a team as code owners April 3, 2024 16:02
@gguillemas gguillemas added this pull request to the merge queue Apr 4, 2024
Merged via the queue into main with commit 1a394ae Apr 4, 2024
23 checks passed
@gguillemas gguillemas deleted the gerard/fix-fuzzing branch April 4, 2024 07:51
@rushmorem rushmorem added this to the v2.0.0-alpha.1 milestone Jun 12, 2024
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.

None yet

3 participants