ci: Run fuzzing on a 4-CPU CircleCI machine and collect its coverage #1883
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.40) × (1 − Review Confidence (0.84)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 44 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.92 · 4 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.228
Self Review
self_review
0.140
Real PR Conversation Timeline
4 comments
circle.yml
"`~/build` is configured from `../project` in the `configure` command above, so it is an out-of-source build directory and does not contain a `CMakeLists.txt`. Running `cmake .` treats `~/build` as the source directory and fails before enabling coverage; reconfigure against `../project` (or use explicit `-S`/`-B` paths) instead."
test
weight: 0.55
circle.yml
"`library: ""` leaves `ARGS` with only `-object bin/evmone-fuzzer`; `-object` is for coverage objects supplied alongside the primary executable/object, while the existing positional `library` supplies that primary input. Consequently every `llvm-cov export/show/report` invocation has no primary input and the coverage step fails before storing the report. Keep a positional executable for this invocation (and avoid adding it again as an extra object), or make the command construct a separate primary-object argument. LLVM documents the object option as an additional object here: https://github.com/llvm/llvm-project/blob/7b6223aec68bfc29ac0572b4eaccec59e89821a6/llvm/tools/llvm-cov/CodeCoverage.cpp#L749-L758"
architecture
weight: 0.9
circle.yml
"`cmake <path-to-existing-build>` is a supported form: CMake uses the directory as the build tree and loads the source directory from its `CMakeCache.txt` (https://cmake.org/cmake/help/latest/manual/cmake.1.html#generate-a-project-buildsystem). So `cmake . -DCOVERAGE=1` in `~/build` reconfigures the existing build. Checked in the `chfast/cpp-build-env:26-clang-22` image."
clarifying
weight: 0.45
circle.yml
"llvm-cov does not need a positional object: it collects the positional file and all `-object` files into one list and fails only if the list is empty (https://github.com/llvm/llvm-project/blob/7b6223aec68bfc29ac0572b4eaccec59e89821a6/llvm/tools/llvm-cov/CodeCoverage.cpp#L953-L960). `llvm-cov export`/`show`/`report` with only `-object bin/evmone-fuzzer` produce the report with llvm-cov 22.1.8 in the `chfast/cpp-build-env:26-clang-22` image."
clarifying
weight: 0.45
chfast
Run the fuzzing job on the smallest 4-CPU CircleCI Docker resource class (large). Previously, it ran with 16 CPUs on the self-hosted runner, which jobs of fork PRs cannot use.
After the fuzzing, rebuild evmone-fuzzer with coverage instrumentation, run the minimized corpus once and store the coverage report of lib/ as an artifact. It is not uploaded to Codecov, where it would mark the code only the fuzzer runs as covered by the tests.