Swift 6 Language Mode + Concurrency Migration #20

Open
opened 2026-06-24 00:27:45 +00:00 by echo · 0 comments
Owner

Enable Swift 6 language mode and resolve all concurrency safety issues.

Scope:

  • Enable .v6 language mode in Package.swift
  • Add Sendable conformances to model types
  • Audit actor isolation: @MainActor annotations on view types, nonisolated where appropriate
  • Fix data-race warnings in DIContainer, ImageService, JellyfinClient, SQLiteStore
  • Work with upstream adwaita-swift if needed for GTK single-threaded compatibility
  • Document any remaining warnings with reasoned justifications

Done when:

  • Project compiles with Swift 6 language mode
  • Zero concurrency warnings (or accepted warnings with documented rationale)
  • All tests pass
Enable Swift 6 language mode and resolve all concurrency safety issues. **Scope:** - Enable `.v6` language mode in `Package.swift` - Add `Sendable` conformances to model types - Audit actor isolation: `@MainActor` annotations on view types, `nonisolated` where appropriate - Fix data-race warnings in `DIContainer`, `ImageService`, `JellyfinClient`, `SQLiteStore` - Work with upstream `adwaita-swift` if needed for GTK single-threaded compatibility - Document any remaining warnings with reasoned justifications **Done when:** - Project compiles with Swift 6 language mode - Zero concurrency warnings (or accepted warnings with documented rationale) - All tests pass
echo added the
tech debt
label 2026-06-24 00:28:22 +00:00
echo added this to the 0.1.0 alpha milestone 2026-06-24 00:28:34 +00:00
Sign in to join this conversation.
No description provided.