Release v2.8.1 attempt 4 (Swift 6 cleanup bundled)#16
Merged
Conversation
…anager) Pré-requis pour passer le projet en Swift 6 strict mode plus tard. Compile en Swift 5 sans changement de comportement runtime. - FocusModeManager.isSandboxed : `nonisolated` ajouté. La classe est @mainactor mais ce static est lu par `runProcessDetached` qui est nonisolated. ProcessInfo.environment est thread-safe, init au premier accès est sûr. - MusicManager.updateArtwork : re-capture [weak self] dans le bloc MainActor.run au lieu de laisser le `self?` traverser deux frontières de closure (Task.detached nonisolated → MainActor.run main). - MusicManager.startShuffleRepeatPoll : wrap forceUpdate() dans Task { @mainactor in ... }. Le callback Timer est nonisolated même si la RunLoop est main — l'isolation explicite évite l'erreur Swift 6. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Owner
Author
|
/release 2.8.1 |
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.
Same as #15 but PR didn't make it before auto-merge. Includes bell.fill + 4 Swift 6 cleanups.