Skip to content

Fix test_cluster_fuzz.py V8 flags mismatch#8746

Merged
tlively merged 1 commit into
mainfrom
test-clusterfuzz-flags-file
May 21, 2026
Merged

Fix test_cluster_fuzz.py V8 flags mismatch#8746
tlively merged 1 commit into
mainfrom
test-clusterfuzz-flags-file

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented May 21, 2026

When running test_cluster_fuzz.py, it was launching V8 with a hardcoded list
of flags, instead of reading the flags from the generated flags file.
This caused V8 to fail compilation of test cases that included relaxed atomics
(which are generated by default now since relaxed atomics fuzzing was enabled),
because V8 requires --experimental-wasm-acquire-release flag for them, and this
flag was not in the hardcoded list.

This CL fixes this by reading the flags from the generated flags file to
faithfully simulate how ClusterFuzz runs V8.

When running test_cluster_fuzz.py, it was launching V8 with a hardcoded list
of flags, instead of reading the flags from the generated flags file.
This caused V8 to fail compilation of test cases that included relaxed atomics
(which are generated by default now since relaxed atomics fuzzing was enabled),
because V8 requires --experimental-wasm-acquire-release flag for them, and this
flag was not in the hardcoded list.

This CL fixes this by reading the flags from the generated flags file to
faithfully simulate how ClusterFuzz runs V8.
@tlively tlively requested a review from a team as a code owner May 21, 2026 04:48
@tlively tlively requested review from aheejin and kripken and removed request for a team May 21, 2026 04:48
@tlively
Copy link
Copy Markdown
Member Author

tlively commented May 21, 2026

(I don't know if the PR description is correct about the normal use of flags files, but it seems plausible. Please double-check that this makes any sense at all.)

@tlively tlively merged commit 371faf7 into main May 21, 2026
16 checks passed
@tlively tlively deleted the test-clusterfuzz-flags-file branch May 21, 2026 16:30
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.

2 participants