fix: search channel releases so release image ls --version finds releases efficiently - #771
Open
xavpaice wants to merge 3 commits into
Open
fix: search channel releases so release image ls --version finds releases efficiently#771xavpaice wants to merge 3 commits into
xavpaice wants to merge 3 commits into
Conversation
xavpaice
marked this pull request as draft
July 28, 2026 01:51
xavpaice
marked this pull request as ready for review
July 28, 2026 01:59
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.
When running
replicated release image ls --channel ... --version ..., the CLI was only fetching the first page of channel releases (default page size of 20) and then filtering client-side by semver. This caused versions beyond the first page to fail withno release found with version ... in channel, even though the release existed and was visible in the UI.This change:
versionLabelfilter when a specific version is requested, so only matching releases are returned instead of paginating through the entire channel history.ListChannelReleasesso it paginates through all pages (used by the fallback and byGetCurrentChannelRelease).versionLabelfilter.Fixes the reported issue where
2.17.12initrs-analytics/unstablecould not be found via the CLI but was visible via the API on page 1.