Skip to content

Fix crashes on boolean schemas in various commands#792

Merged
jviotti merged 2 commits into
mainfrom
boolean-schemas
Jul 9, 2026
Merged

Fix crashes on boolean schemas in various commands#792
jviotti merged 2 commits into
mainfrom
boolean-schemas

Conversation

@jviotti

@jviotti jviotti commented Jul 9, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

Review in cubic

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@augmentcode

augmentcode Bot commented Jul 9, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Fix crashes when CLI tools process boolean JSON Schemas (true/false).

Key changes:

  • Bump the vendored Blaze dependency and add guards so bundling/frame analysis won’t call object-only APIs on boolean schemas.
  • Add Unix regression tests for validate, bundle, inspect, and rdf using --default-dialect with boolean schemas.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 9 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread test/validate/pass_boolean_schema_true_default_dialect.sh Outdated
Comment thread test/validate/fail_boolean_schema_false_default_dialect.sh
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti
jviotti merged commit e97e6d5 into main Jul 9, 2026
15 checks passed
@jviotti
jviotti deleted the boolean-schemas branch July 9, 2026 13:27
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 18, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema) | minor | `v16.1.0` → `v16.2.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>sourcemeta/jsonschema (sourcemeta/jsonschema)</summary>

### [`v16.2.0`](https://github.com/sourcemeta/jsonschema/releases/tag/v16.2.0)

[Compare Source](sourcemeta/jsonschema@v16.1.0...v16.2.0)

#### What's Changed

- Fix crashes on boolean schemas in various commands by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;792](sourcemeta/jsonschema#792)
- Report a non-zero exit code if a `test` file has no tests by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;794](sourcemeta/jsonschema#794)
- Support top-level custom linter rules by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;795](sourcemeta/jsonschema#795)

**Full Changelog**: <sourcemeta/jsonschema@v16.1.0...v16.2.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjI2My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
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