Repository navigation
Fix connection, discovery, sync, download, streaming, and Watch artwork bugs in ClementineKit - #99
Open
davidsansome wants to merge 3 commits into
Open
davidsansome wants to merge 3 commits into
davidsansome wants to merge 3 commits into
Conversation
ScreenshotsFrom run 46267067153, against a real Clementine. Left: main. Right: this pull request, light and dark.
Screens at a failure |
davidsansome
force-pushed
the
review/ios-clementine-kit
branch
from
November 27, 2026 10:15
c64c355 to
e74b8aa
Compare
…rk bugs in ClementineKit Fixes connection teardown and retry backoff, service discovery resolution, Renderer pause/resume and seek completion, SongDownloader cancellation/resume and filename sanitization, Syncer/SyncEngine/SyncStore cancellation and partial-file sweeping, and WatchLink artwork transfer encoding. Temporarily keeps RemoteSession.ban() until the stacked UI PR removes its caller. Release-note: Improved connection reliability, service discovery, remote streaming playback switching, downloads, sync cancellation/resume, and Apple Watch artwork delivery.
davidsansome
force-pushed
the
review/ios-clementine-kit
branch
from
November 27, 2026 10:24
e74b8aa to
83eeff7
Compare
…egate callbacks Registering the transfer before entering the cancellation handler and guarding continuation storage in a Mutex prevents early task cancellation from dropping didCompleteWithError and leaking the continuation.
Checking session connection state before querying manifests or HTTP servers and treating SyncConnectionError.notConnected as cancellation prevents SyncEngine from waiting 60 seconds per remaining rule or pruning tracks on a dropped connection.
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.





































Part 1 of 2 from the cross-repo code review (
code-review-fixes), containing allPackages/ClementineKitfixes (35files).Summary
ClementineConnection,MessageChannel,RemoteCommand,RetryAfter, andRemoteSessionconnection/timeout/reconnect handling (temporarily retainsRemoteSession.ban()until the stacked UI PR removes its caller).ServiceBrowserdiscovery,InternetBrowser,LibraryStore/SearchStore/SongQuery, andWatchMessagesJPEG cover dictionary transfer.Rendererlocal-pause/resume state & seek completion,SongDownloadercancellation/ETag-resume & folder trim order, andSyncer/SyncEngine/SyncStoreexternal sync cancellation, range mismatch handling, and partial file cleanup.Verification
swift testinPackages/ClementineKit:237 tests in 27 suites passed.xcodebuild -project ClementineRemote.xcodeproj -scheme ClementineRemote -destination "generic/platform=iOS Simulator" DEVELOPMENT_TEAM= build -quiet: succeeded.claude-review) on combined changes:APPROVE.