Repository navigation
test(graph-rs): add the fuzz package manifest - #3445
Conversation
Tested 1 flow, found no issues. What we tested
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Fuzz package and targets rust/cgr_graph_rs/fuzz/Cargo.toml |
The manifest defines a standalone package, its dependencies, release debug information, and four fuzz-target binaries. |
Rust fuzz build and smoke tests .clusterfuzzlite/Dockerfile, .clusterfuzzlite/build.sh |
The Docker image installs the Rust fuzz toolchain and cargo-fuzz. The build script compiles each Rust target, copies its binary, and smoke-tests it. |
ClusterFuzzLite workflows and documentation .github/workflows/cflite_batch.yml, .github/workflows/cflite_pr.yml, .github/SECURITY.md, AGENTS.md, CONTRIBUTING.md |
The workflows add Rust to their language selection and pass the selected language to build and run actions. The documentation describes the Rust targets, local usage, and toolchain instructions. |
Priority:
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Other
Sequence Diagram(s)
sequenceDiagram
participant ClusterFuzzLite
participant BuildScript
participant CargoFuzz
participant FuzzTarget
ClusterFuzzLite->>BuildScript: Select Rust language
BuildScript->>CargoFuzz: Build fuzz targets
CargoFuzz-->>BuildScript: Target binaries
BuildScript->>FuzzTarget: Run smoke test
FuzzTarget-->>BuildScript: Exit status and output
Possibly related PRs
- vitali87/code-graph-rag#3442: Adds fuzz-target implementations that this package manifest declares.
- vitali87/code-graph-rag#3444: Adds the
sqlite_graphtarget declared by this package manifest. - vitali87/code-graph-rag#3443: Adds the
graph_algorithmstarget declared by this package manifest.
Suggested reviewers: claude
Merge Risk: 
Minimal · up to 00529
-
The change enables Rust fuzzing alongside the existing Python jobs. No merge-blocking issue was identified.
Pre-merge checks: 
4
-
Full details: Description check
-
Explanation
The description includes the required summary, demo, change type, related issues, and test plan sections. It explains the tooling-only scope and reported validation. The checklist section is missing, but the description is otherwise sufficiently complete.
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The PR appears safe to merge; no blocking issue was found. SummaryAdds a separate Cargo package for four Rust fuzz targets and runs them through ClusterFuzzLite.
No new issue met the reporting bar. No previous review threads were supplied. The previous-review ancestry checks did not pass, so this review covered the full PR diff. Reviews (2) · Last reviewed commit: "Merge pull request #3494 from vitali87/c..." · Reviewed by Greptile |
9c35560 to
3a146c8
Compare
|
CodeQL The analysis itself finished. The job then failed while uploading its SARIF results, because GitHub returned Update: once the backlog cleared, I re-ran the failed job once at 20:02 UTC and it passed (attempt 2). Generated by Claude Code |
3a146c8 to
68c854d
Compare
c0dfe9c to
86a3418
Compare
…-fuzz-cflite # Conflicts: # rust/cgr_graph_rs/fuzz/Cargo.lock
ci(fuzz): build and run the graph-rs cargo-fuzz targets in ClusterFuzzLite
|
|
@greptile review Generated by Claude Code |



Summary
Cargo.tomlandCargo.lockforrust/cgr_graph_rs/fuzz, naming the four targets. The package is a workspace of its own, so the crate's build and tests never compile it.cargo +nightly fuzz run <target>works fromrust/cgr_graph_rs. Debug assertions belong on (--debug-assertions), as OSS-Fuzz builds Rust targets, so an integer overflow is a crash.Demo
No user-visible change: fuzz targets only. Nothing in the package, CI or the wheel builds
rust/cgr_graph_rs/fuzz.Type of Change
Related Issues
None.
Test plan
Run on the whole stack, since the package builds once its manifest lands in the last PR:
cargo fuzz coverage).cargo +nightly-2025-07-16 check --binspasses, as well as the current nightly.Files changed
rust/cgr_graph_rs/fuzz/Cargo.tomlrust/cgr_graph_rs/fuzz/Cargo.lockDiff stats
+243 additions, -0 deletions (243 LOC)
Dependencies
This PR depends on:
pr-3Dependency graph
Merge in this order:
Summary by CodeRabbit