Skip to content

Fix parser and canonicalizer fuzzer failures#10060

Merged
lukewilliamboswell merged 14 commits into
mainfrom
fuzz-fixes
Jul 10, 2026
Merged

Fix parser and canonicalizer fuzzer failures#10060
lukewilliamboswell merged 14 commits into
mainfrom
fuzz-fixes

Conversation

@lukewilliamboswell

Copy link
Copy Markdown
Collaborator

Summary

This draft tracks correctness fixes found by randomized testing of the Roc front end.

  • isolate canonicalize fuzzer worker input files and close their directory handles
  • return explicit type-application regions from the formatter
  • preserve multiline platform symbol-map layout across formatting passes

Current validation

  • formatter Zig module tests pass
  • known type-application formatter reproducer passes
  • minimized platform symbol-map reproducer passes
  • local parse discovery run found two remaining import-formatting cases with one shared root cause

Next steps

  • fix the import alias/comment formatting failure
  • continue parse and canonicalize discovery runs
  • run MiniCI and final clean five-minute runs for both targets

@lukewilliamboswell

Copy link
Copy Markdown
Collaborator Author

Triage note: reran and for 5 min each with log-only output and no new crashes were found. Both runs reported 0 crashes and 0 timeouts. No new reproducible fuzzer regressions to triage in this round.

@lukewilliamboswell lukewilliamboswell marked this pull request as ready for review July 10, 2026 04:38
@lukewilliamboswell lukewilliamboswell merged commit 5522408 into main Jul 10, 2026
12 checks passed
@lukewilliamboswell lukewilliamboswell deleted the fuzz-fixes branch July 10, 2026 12:31
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.

1 participant