Skip to content

Commit cbc8ad1

Browse files
chore[fuzz]: new unstable encodings fuzzer run (#7123)
Add a new runner target for array_ops with unstable encodings to ensure we know that these bugs are not necessarily stable encodings Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
1 parent b79b7d6 commit cbc8ad1

2 files changed

Lines changed: 46 additions & 1 deletion

File tree

.github/workflows/fuzz.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,43 @@ jobs:
9999
gh_token: ${{ secrets.GITHUB_TOKEN }}
100100
incident_io_alert_token: ${{ secrets.INCIDENT_IO_ALERT_TOKEN }}
101101

102+
# ============================================================================
103+
# Array Operations Fuzzer (unstable encodings)
104+
# ============================================================================
105+
ops_fuzz_unstable:
106+
name: "Array Operations Fuzz (unstable)"
107+
uses: ./.github/workflows/run-fuzzer.yml
108+
with:
109+
fuzz_target: array_ops_unstable_encodings
110+
extra_features: "vortex/unstable_encodings"
111+
jobs: 16
112+
secrets:
113+
R2_FUZZ_ACCESS_KEY_ID: ${{ secrets.R2_FUZZ_ACCESS_KEY_ID }}
114+
R2_FUZZ_SECRET_ACCESS_KEY: ${{ secrets.R2_FUZZ_SECRET_ACCESS_KEY }}
115+
116+
report-ops-unstable-fuzz-failures:
117+
name: "Report Array Ops (unstable) Fuzz Failures"
118+
needs: ops_fuzz_unstable
119+
if: always() && needs.ops_fuzz_unstable.outputs.crashes_found == 'true'
120+
permissions:
121+
issues: write
122+
contents: read
123+
id-token: write
124+
pull-requests: read
125+
uses: ./.github/workflows/report-fuzz-crash.yml
126+
with:
127+
fuzz_target: array_ops_unstable_encodings
128+
crash_file: ${{ needs.ops_fuzz_unstable.outputs.first_crash_name }}
129+
artifact_url: ${{ needs.ops_fuzz_unstable.outputs.artifact_url }}
130+
artifact_name: array_ops_unstable_encodings-crash-artifacts
131+
logs_artifact_name: array_ops_unstable_encodings-logs
132+
branch: ${{ github.ref_name }}
133+
commit: ${{ github.sha }}
134+
secrets:
135+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
136+
gh_token: ${{ secrets.GITHUB_TOKEN }}
137+
incident_io_alert_token: ${{ secrets.INCIDENT_IO_ALERT_TOKEN }}
138+
102139
# ============================================================================
103140
# FSST LIKE Fuzzer
104141
# ============================================================================

fuzz/Cargo.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ version = { workspace = true }
1818
cargo-fuzz = true
1919

2020
[features]
21-
default = ["native", "vortex/unstable_encodings"]
21+
default = ["native"]
2222
native = ["libfuzzer-sys", "zstd", "vortex-file", "vortex/files"]
2323
wasmfuzz = []
2424
zstd = ["vortex/zstd", "vortex-btrblocks/zstd", "vortex-btrblocks/pco"]
@@ -65,6 +65,14 @@ path = "fuzz_targets/array_ops.rs"
6565
test = false
6666
required-features = ["native"]
6767

68+
[[bin]]
69+
bench = false
70+
doc = false
71+
name = "array_ops_unstable_encodings"
72+
path = "fuzz_targets/array_ops.rs"
73+
test = false
74+
required-features = ["native"]
75+
6876
[[bin]]
6977
bench = false
7078
doc = false

0 commit comments

Comments
 (0)