Fix Cua Driver release discovery across feed pages - #347
Draft
f-trycua wants to merge 1 commit into
Draft
Conversation
Build on omacom#306 without replacing its package or updater workaround. Exhaust the component feed before selecting a release and cover quarantine, version ordering, invalid input, and transport failures with offline fixtures.
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.
Scope
Follow-up to #306, targeting its
add-cua-driver-binbranch so Spencer's original package and authorship remain intact. This PR contains only the release-discovery fix and its regression tests.The Cua monorepo publishes several components in one GitHub release feed. Looking at only the first 100 releases can stop finding Driver releases as other components publish. This change exhausts the paginated feed before choosing the highest eligible Driver version, with a 100-page bound and fail-closed handling of incomplete scans or malformed responses.
Unchanged
pkgver=0.23.2and the 24-hour quarantine.pm.sh. They remain necessary until the pacman-aware upstream fix in fix(cua-driver): leave pacman-managed updates to pacman trycua/cua#3636 is released and reaches the package's normal update path.Validation
bin/sync-upstream self-testentry point: later-page discovery, version ordering, stable-shaped prereleases, drafts/nightlies, quarantine boundaries, dates, checksums, and API failures.vercmpbefore this draft is ready.GitHub has paused the upstream CI run for maintainer approval of this fork contribution: https://github.com/omacom/omarchy-pkgs/actions/runs/34168429328.
If #306 lands first, retarget this follow-up to
master; it is not intended to replace the original package PR.