Skip to content

Correct hyperinsight's minAppVersion to the release its APIs arrived in - #25

Merged
zephyrnova merged 1 commit into
mainfrom
fix/hyperinsight-min-app-version
Nov 27, 2026
Merged

zephyrnova merged 1 commit into
mainfrom
fix/hyperinsight-min-app-version

Conversation

@zephyrnova

Copy link
Copy Markdown
Contributor

One line in one file: hyperinsight's minAppVersion goes from 0.1.7 to 0.1.10.

The declaration is false for every build between the two. The add-on bridge did not exist in any release before 0.1.10, so window.addonAPI is simply absent there and optional chaining means the add-on fails silently rather than reporting anything.

What it calls, with the release each arrived in, read off the app's published surface rather than inferred:

Call Since
addonAPI.invoke (src/api.ts:24) 0.1.10
addonAPI.files.readBinary (src/api.ts:79) 0.1.10
addonAPI.nodes.list (src/components/NodeDetailPanel.tsx:187) 0.1.10
the nodes:read permission it declares 0.1.10

0.1.10 is also the surface generator's horizon, because that is the release the bridge itself appeared in — so no honest manifest in this catalogue names anything lower.

Found by the minAppVersion check while it was being run over the add-ons already listed here, before any of them met a submission. graph-addon and loops-addon were corrected during their own review rounds; this one never was. It is the single known failure recorded in the gate baseline.

This pull request is also the first real run of addon-pr.yml. The workflow has never executed on GitHub Actions — every step was simulated locally, but a runner is not a laptop. It is deliberately being exercised on our own add-on rather than a contributor's, and it drives the gate from fail to pass, so both comparison paths get used. If the run breaks, the breakage is the point.

The manifest declares 0.1.7. The add-on bridge did not exist in any release
before 0.1.10, so the declaration is false for every build between the two —
`window.addonAPI` is simply absent there, and optional chaining means the
add-on fails silently rather than reporting anything.

What it calls, with the version each arrived in, read off the app's published
surface rather than inferred: `addonAPI.invoke` (src/api.ts:24),
`addonAPI.files.readBinary` (:79) and `addonAPI.nodes.list`
(src/components/NodeDetailPanel.tsx:187), plus the `nodes:read` permission it
declares. Every one is `since: 0.1.10`, which is also the surface generator's
horizon, because that is the release the bridge itself appeared in.

Found by the tab.icon and minAppVersion checks while they were being run over
the add-ons already listed here, before either met a submission. graph and
loops were corrected during their own review rounds; this one never was.

Distinct from the app-side gap, which is that minAppVersion is enforced only
at activation, so an add-on the running build cannot run still installs. That
is tracked separately and is not what this changes.

Signed-off-by: Robert Moir <130709596+zephyrnova@users.noreply.github.com>
@zephyrnova
zephyrnova merged commit 375f9c6 into main Nov 27, 2026
2 checks passed
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