Skip to content

Fix a lint $dynamicAnchor crash introduced in previous optimisations#640

Merged
jviotti merged 1 commit intomainfrom
hotfix-dynamic-anchor
Feb 3, 2026
Merged

Fix a lint $dynamicAnchor crash introduced in previous optimisations#640
jviotti merged 1 commit intomainfrom
hotfix-dynamic-anchor

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Feb 2, 2026

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

@augmentcode
Copy link

augmentcode bot commented Feb 2, 2026

🤖 Augment PR Summary

Summary: Fixes a linter crash around $dynamicAnchor handling that was introduced by recent compiler optimizations.

Changes:

  • Bumps the vendored core and blaze dependencies to newer revisions.
  • In Blaze’s compiler, skips emitting targets/labels for dynamic anchors that the frame deems unreachable.
  • In Core’s schema frame, improves reachability computation for dynamic references by mapping fragments to all matching dynamic anchors.

Technical Notes: Reachability is now built using fragment-based dynamic-anchor lookup to avoid asserting on anchors that cannot be reached from any valid reference path.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

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.

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti force-pushed the hotfix-dynamic-anchor branch from 6bb39c4 to 928af3e Compare February 2, 2026 21:30
@jviotti jviotti merged commit 4e74254 into main Feb 3, 2026
14 of 25 checks passed
@jviotti jviotti deleted the hotfix-dynamic-anchor branch February 3, 2026 12:18
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 15, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema) | minor | `v14.5.0` → `v14.10.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>

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

[Compare Source](sourcemeta/jsonschema@v14.9.0...v14.10.0)

#### What's Changed

- Implement a `--frozen` option for the `install` command by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;656](sourcemeta/jsonschema#656)

**Full Changelog**: <sourcemeta/jsonschema@v14.9.0...v14.10.0>

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

[Compare Source](sourcemeta/jsonschema@v14.8.0...v14.9.0)

#### What's Changed

- Support adding new dependencies in `install` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;655](sourcemeta/jsonschema#655)

**Full Changelog**: <sourcemeta/jsonschema@v14.8.0...v14.9.0>

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

[Compare Source](sourcemeta/jsonschema@v14.7.2...v14.8.0)

#### What's Changed

- Implement an `install` command by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;654](sourcemeta/jsonschema#654)
  - Note: this is a first take on the problem. More improvements coming very soon!

**Full Changelog**: <sourcemeta/jsonschema@v14.7.2...v14.8.0>

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

[Compare Source](sourcemeta/jsonschema@v14.7.1...v14.7.2)

#### What's Changed

- Improve I/O error handling for when dealing with FUSE filesystems by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;651](sourcemeta/jsonschema#651)

**Full Changelog**: <sourcemeta/jsonschema@v14.7.1...v14.7.2>

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

[Compare Source](sourcemeta/jsonschema@v14.7.0...v14.7.1)

#### What's Changed

- Speed up `default`/`examples` linting on standalone schemas by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;647](sourcemeta/jsonschema#647)
- Publish the `musl` x86-64 binary to NPM by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;649](sourcemeta/jsonschema#649)

**Full Changelog**: <sourcemeta/jsonschema@v14.7.0...v14.7.1>

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

[Compare Source](sourcemeta/jsonschema@v14.6.1...v14.7.0)

#### What's Changed

- Support formatting in the `lint` command using `--format` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;642](sourcemeta/jsonschema#642)
- Print simple progress status when running `lint --fix` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;644](sourcemeta/jsonschema#644)
- Support compiling a specific subschema in `compile` and `validate` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;646](sourcemeta/jsonschema#646)

**Full Changelog**: <sourcemeta/jsonschema@v14.6.1...v14.7.0>

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

[Compare Source](sourcemeta/jsonschema@v14.6.0...v14.6.1)

#### What's Changed

- Fix a lint `$dynamicAnchor` crash introduced in previous optimisations by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;640](sourcemeta/jsonschema#640)

**Full Changelog**: <sourcemeta/jsonschema@v14.6.0...v14.6.1>

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

[Compare Source](sourcemeta/jsonschema@v14.5.0...v14.6.0)

#### What's Changed

- Remove NPM `postinstall` script as newer version of NPM no longer print the message by [@&#8203;Karan-Palan](https://github.com/Karan-Palan) in [#&#8203;633](sourcemeta/jsonschema#633)
- Do not report non-fixable rules multiple times on `lint --fix` and add various new linter rules by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;634](sourcemeta/jsonschema#634)
- Optimise `lint --fix` to avoid re-analysing the schema in vain by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;635](sourcemeta/jsonschema#635)
- Mark orphaned locations in the `inspect` command as `orphan` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;636](sourcemeta/jsonschema#636)
- Speed up linting of `default` and `examples` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;637](sourcemeta/jsonschema#637)
- Speed up schema compilation, linting, and bundling by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;638](sourcemeta/jsonschema#638)

**Full Changelog**: <sourcemeta/jsonschema@v14.5.0...v14.6.0>

</details>

---

### Configuration

📅 **Schedule**: 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ni4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
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