Skip to content

fix: handle malformed compare JSON gracefully#88

Merged
KaykCaputo merged 1 commit into
KaykCaputo:masterfrom
waldo121:bug/malformed-compare-json
Jul 9, 2026
Merged

fix: handle malformed compare JSON gracefully#88
KaykCaputo merged 1 commit into
KaykCaputo:masterfrom
waldo121:bug/malformed-compare-json

Conversation

@waldo121

@waldo121 waldo121 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix a bug with invalid json in comparison files.

Related Issue

Closes #71

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation update
  • CLI behavior change

What Changed

  • Add error handling for invalid JSON and schema in compare files
  • Add tests for malformed JSON, invalid schema, and empty compare files

Validation

  • run the new test

Checklist

  • The code follows style conventions.
  • I added unit tests for the new functionality.
  • CI (GitHub Actions) is green.
  • I updated documentation/README when needed.

- Add error handling for invalid JSON and schema in compare files
- Add tests for malformed JSON, invalid schema, and empty compare files
@waldo121 waldo121 marked this pull request as ready for review July 9, 2026 15:09
@KaykCaputo KaykCaputo merged commit 80a3e9b into KaykCaputo:master Jul 9, 2026
4 checks passed
@waldo121 waldo121 deleted the bug/malformed-compare-json branch July 10, 2026 16:12
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.

[Bug]: Malformed or invalid compare JSON causes unhandled exceptions

2 participants