← Back to Pull requests

ci: Run fuzzing on a 4-CPU CircleCI machine and collect its coverage #1883

Merged
chfast merged 1 files (44 lines) on Dec 03, 2026 13:41 UTC
View on GitHub
chfast chfast commented on Dec 03, 2026 13:15 UTC
Author

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.

Diff: 44 lines (+36 / -8) across 1 files Reviewer: chfast Review duration: 26m
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
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.92 · 4 substantive comment(s)
0.92
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
84%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Reviewers
Assignees
chfast chfast
Labels
risk: low confidence: 84.2% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.8% (MEDIUM) · Higher = larger blast radius
39.8%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 84.2% · Lower = rushed or shallow review
84.2%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 6.3% · Safe to merge
6.3%
Repository