chore(deps): bump structon to ^1.0.7 (#1163) - #1240
Merged
Merged
Conversation
Picks up HarperFast/structon#5: typed structures now reload from durable storage on a decode miss (standalone path), bringing them to parity with classic shared structures. On main this is inert (msgpackr ^2.0.4 uses the fast path, which already reloads on miss); it is load-bearing on the standalone (msgpackr v1) path that the v5.0 line runs.
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
|
Reviewed; no blockers found. |
cb1kenobi
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
structon^1.0.6→^1.0.7(lockfile updated to 1.0.7).structon 1.0.7 = HarperFast/structon#5: on the standalone decode path, typed structures now reload from durable storage when a decode hits a structure id minted after the reader's last load (previously the cache short-circuited and never refreshed — a record that exists came back undecodable, the read half of #1163). The base decoder already did this for classic shared structures; 1.0.7 brings typed structures to parity.
Why this is safe here
On
mainthis is inert: msgpackr^2.0.4uses structon's fast path, whosereadStructalready reloads on miss, so the new standalone-path branch is never executed. The change is load-bearing only on the standalone (msgpackr v1) path that the v5.0 line / the affected production cluster runs — so the impactful delivery is a v5.0 backport (see below), not this PR.Note
The structon-level change carried its full review in HarperFast/structon#5 (incl. cross-model review); this is a mechanical dependency bump (package.json range + lockfile only, diff is structon-only). One open item flagged in structon#5: nested-struct misses via
_decodeSliceDirectare not yet covered (re-entrancy hazard) — tracked there.Backport: the v5.0 line is where this actually fixes #1163; that's a separate
/patch-pronce this lands.🤖 Generated by Claude (Opus 4.7).