Repository navigation
Answer GetPackage from the local catalogue; bump to 0.9.2 - #41
Merged
Merged
Conversation
The GUI details pane called GetPackage on every open, which connected to relays and resolved live each time. The daemon now selects the release from the local catalogue and the cached artifact event, falling back to relays only on a miss. Install passes live: true to keep resolving from relays. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjtG22dxbf2JzLCaCkuW9U
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjtG22dxbf2JzLCaCkuW9U
imattau
pushed a commit
that referenced
this pull request
Nov 9, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjtG22dxbf2JzLCaCkuW9U
4 of 6 tasks
imattau
pushed a commit
that referenced
this pull request
Nov 9, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjtG22dxbf2JzLCaCkuW9U
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
GetPackageevery time it opened, and the daemon connected to the relays and resolved live on each call, so details were slow and failed when relays were unreachable.GetPackagenow selects the release from the local catalogue (including its revocations) and takes the artifact event from the on-disk cache, falling back to the relays only when either is missing.live: trueparameter forces a relay query. Install passes it, because locally answeredartifact_urlsomit the publisher's Blossom servers.select_release).npackandnpack-guito 0.9.2 (andCargo.lock).Notes
Test plan
cargo fmt --all -- --checkcargo test -p npack(187 passed), including a new test for no catalogue, no cached artifact, a local hit, and a revoked releasecargo clippy --all-targets --all-featurescleanpackaging/check-release-version.sh 0.9.2Generated by Claude Code