Skip to content

Release v2.8.1 attempt 4 (Swift 6 cleanup bundled)#16

Merged
coaxel2 merged 2 commits into
mainfrom
release/v2.8.1-4
May 17, 2026
Merged

Release v2.8.1 attempt 4 (Swift 6 cleanup bundled)#16
coaxel2 merged 2 commits into
mainfrom
release/v2.8.1-4

Conversation

@coaxel2
Copy link
Copy Markdown
Owner

@coaxel2 coaxel2 commented May 17, 2026

Same as #15 but PR didn't make it before auto-merge. Includes bell.fill + 4 Swift 6 cleanups.

…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>
@coaxel2
Copy link
Copy Markdown
Owner Author

coaxel2 commented May 17, 2026

/release 2.8.1

@github-actions github-actions Bot added the cori-ai-review Cori AI review label May 17, 2026
@coaxel2 coaxel2 merged commit 1f35176 into main May 17, 2026
1 of 2 checks passed
@coaxel2 coaxel2 deleted the release/v2.8.1-4 branch May 17, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cori-ai-review Cori AI review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant