Repository navigation
Correct hyperinsight's minAppVersion to the release its APIs arrived in - #25
Merged
Merged
Conversation
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>
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.
One line in one file: hyperinsight's
minAppVersiongoes from0.1.7to0.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.addonAPIis 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:
addonAPI.invoke(src/api.ts:24)addonAPI.files.readBinary(src/api.ts:79)addonAPI.nodes.list(src/components/NodeDetailPanel.tsx:187)nodes:readpermission it declares0.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
minAppVersioncheck while it was being run over the add-ons already listed here, before any of them met a submission.graph-addonandloops-addonwere 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.