storage: Add upsert cargo-fuzz targets#37389
Merged
Merged
Conversation
This was referenced Jun 30, 2026
bfc24d7 to
96eff49
Compare
2845250 to
9a09e37
Compare
96eff49 to
63d7e6f
Compare
63d7e6f to
96a0536
Compare
9a09e37 to
4e451d9
Compare
def-
added a commit
that referenced
this pull request
Jul 1, 2026
Replacement stack for #36982. This is part 1 of 10. Summary: - Adds the shared cargo-fuzz workspace under test/cargo-fuzz. - Adds the mzcompose runner, shared proto dictionary, and root workspace notes. - Does not enable release-qualification CI yet. Review notes: - The runner lists the full intended fuzz crate set. Later PRs in the stack add those crates. - Focus review on runner behavior, corpus handling, sharding, failure annotations, and workspace policy. Verification: - Split from original commit 082e197 and reapplied onto current upstream/main. - Top of stack has the same touched-file set as #36982 and passes git diff --check. Stack: 1. #37381 tests: Add shared cargo-fuzz runner 2. #37382 tests: Expose fuzz-only internals 3. #37383 sql-parser: Add cargo-fuzz targets 4. #37384 expr, transform: Add cargo-fuzz targets 5. #37385 repr, pgwire: Add cargo-fuzz targets 6. #37386 avro, interchange: Add cargo-fuzz targets 7. #37387 storage-types: Add proto cargo-fuzz targets 8. #37388 persist-client: Add cargo-fuzz targets 9. #37389 storage: Add upsert cargo-fuzz targets 10. #37390 ci: Run cargo-fuzz in release qualification The original monolithic PR is #36982.
def-
added a commit
that referenced
this pull request
Jul 3, 2026
Replacement stack for #36982. This is part 5 of 10. Summary: - Adds repr fuzz targets for row, proto, strconv, JSONB, numeric, interval, and range properties. - Adds pgrepr, pgcopy, pgtz, and pgwire fuzz targets. - Adds pgwire corpus preparation and dictionaries. Review notes: - Focus review on parser and codec assumptions for externally supplied bytes or text. - The pgwire target depends on the fuzz-only exports from part 2. Verification: - Split from original commit 082e197 and reapplied onto current upstream/main. - Top of stack has the same touched-file set as #36982 and passes git diff --check. Stack: 1. #37381 tests: Add shared cargo-fuzz runner 2. #37382 tests: Expose fuzz-only internals 3. #37383 sql-parser: Add cargo-fuzz targets 4. #37384 expr, transform: Add cargo-fuzz targets 5. #37385 repr, pgwire: Add cargo-fuzz targets 6. #37386 avro, interchange: Add cargo-fuzz targets 7. #37387 storage-types: Add proto cargo-fuzz targets 8. #37388 persist-client: Add cargo-fuzz targets 9. #37389 storage: Add upsert cargo-fuzz targets 10. #37390 ci: Run cargo-fuzz in release qualification The original monolithic PR is #36982.
def-
added a commit
that referenced
this pull request
Jul 6, 2026
Replacement stack for #36982. This is part 2 of 10. Summary: - Adds fuzzing Cargo features for pgwire, persist-client, and storage. - Adds cfg-gated fuzz_exports modules for fuzz targets. - Switches two storage Inspect uses to InspectCore to avoid the macOS trait-solver overflow hit by fuzz builds. Review notes: - This is the production-code review unit in the stack. - The new APIs are feature-gated and documented as not being stable public API. Verification: - Split from original commit 082e197 and reapplied onto current upstream/main. - Top of stack has the same touched-file set as #36982 and passes git diff --check. Stack: 1. #37381 tests: Add shared cargo-fuzz runner 2. #37382 tests: Expose fuzz-only internals 3. #37383 sql-parser: Add cargo-fuzz targets 4. #37384 expr, transform: Add cargo-fuzz targets 5. #37385 repr, pgwire: Add cargo-fuzz targets 6. #37386 avro, interchange: Add cargo-fuzz targets 7. #37387 storage-types: Add proto cargo-fuzz targets 8. #37388 persist-client: Add cargo-fuzz targets 9. #37389 storage: Add upsert cargo-fuzz targets 10. #37390 ci: Run cargo-fuzz in release qualification The original monolithic PR is #36982.
Contributor
Author
|
ready for review |
def-
added a commit
that referenced
this pull request
Jul 10, 2026
Replacement stack for #36982. This is part 3 of 10. Summary: - Adds sql-parser cargo-fuzz crate. - Adds the grammar target and the SQL parse, print, and reparse round-trip target. - Adds the grammar source used by the structured generator. Review notes: - Focus review on the SQL round-trip oracle and the generated statement families. - This PR intentionally contains only sql-parser fuzzing code. Verification: - Split from original commit 082e197 and reapplied onto current upstream/main. - Top of stack has the same touched-file set as #36982 and passes git diff --check. Stack: 1. #37381 tests: Add shared cargo-fuzz runner 2. #37382 tests: Expose fuzz-only internals 3. #37383 sql-parser: Add cargo-fuzz targets 4. #37384 expr, transform: Add cargo-fuzz targets 5. #37385 repr, pgwire: Add cargo-fuzz targets 6. #37386 avro, interchange: Add cargo-fuzz targets 7. #37387 storage-types: Add proto cargo-fuzz targets 8. #37388 persist-client: Add cargo-fuzz targets 9. #37389 storage: Add upsert cargo-fuzz targets 10. #37390 ci: Run cargo-fuzz in release qualification The original monolithic PR is #36982.
96a0536 to
1642cb0
Compare
1642cb0 to
38b6200
Compare
def-
added a commit
that referenced
this pull request
Jul 10, 2026
Replacement stack for #36982. This is part 7 of 10. Summary: - Adds proto round-trip fuzz targets for catalog-protos and storage-types. - Adds external table-desc proto round-trip targets for MySQL, PostgreSQL, and SQL Server utilities. - Adds a CSV decode target in storage-types. Review notes: - Focus review on round-trip invariants and decode error handling for serialized metadata. Verification: - Split from original commit 082e197 and reapplied onto current upstream/main. - Top of stack has the same touched-file set as #36982 and passes git diff --check. Stack: 1. #37381 tests: Add shared cargo-fuzz runner 2. #37382 tests: Expose fuzz-only internals 3. #37383 sql-parser: Add cargo-fuzz targets 4. #37384 expr, transform: Add cargo-fuzz targets 5. #37385 repr, pgwire: Add cargo-fuzz targets 6. #37386 avro, interchange: Add cargo-fuzz targets 7. #37387 storage-types: Add proto cargo-fuzz targets 8. #37388 persist-client: Add cargo-fuzz targets 9. #37389 storage: Add upsert cargo-fuzz targets 10. #37390 ci: Run cargo-fuzz in release qualification The original monolithic PR is #36982.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replacement stack for #36982. This is part 9 of 10.
Summary:
Review notes:
Verification:
Stack:
The original monolithic PR is #36982.