Repository navigation
test: cargo-fuzz targets with RFC 8785 seeds and CI smoke - #48
Conversation
… RFC 8785 seed corpus and 60s CI smoke Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDhUv8btVaxjhTHSUtk
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/ijson-jcs/pull/48 |
|
Important Review skippedToo many files! This PR contains 105 files, which is 5 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8428c9c9e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1 @@ | |||
| {"numbers":[333333333.33333329,1E30,4.50,2e-3,0.000000000000000000000000001],"string":"€$\u000F\u000aA'B"\\\\"\/","literals":[null,true,false]} No newline at end of file | |||
There was a problem hiding this comment.
Repair the malformed RFC 8785 example seed
This seed contains an unescaped quote after A'B, so it is invalid JSON and every harness rejects it before exercising the RFC 8785 §3.2.4 successful canonicalization path. The same malformed bytes are duplicated in all three corpora, meaning the advertised RFC example provides no positive-path coverage until the string escaping is corrected.
Useful? React with 👍 / 👎.
|



What
Three cargo-fuzz targets (
parse_jcs,canon_roundtrip,cli_input), a seed corpus per target (RFC 8785 §3.2.3/§3.2.4 examples, all Appendix B number literals, and refusal inputs: duplicate key, lone surrogate, truncated, overflow), and a 60 s per-target smoke job (.github/workflows/fuzz.yml, pinned nightly + cargo-fuzz 0.13.2).Evidence (local)
canon_roundtrippanics within seconds.cli_inputcannot reach the binary-privateread_bounded(documented infuzz/README.adoc).Notes
Generated by Claude Code