mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-22 04:30:45 +00:00
### Motivation `UnixSignalsSequence.Storage` is marked `@unchecked Sendable`, but its stored properties are `let stateMachine: LockedValueBox<StateMachine>` and `let sources: [Source]` (where `Source` is already checked `Sendable`). The compiler can verify this conformance, and keeping `@unchecked` means it would not catch a future change that breaks sendability. ### Modifications - Replace `@unchecked Sendable` with `Sendable` on `UnixSignalsSequence.Storage`. ### Result No behavior change; the conformance is now checked by the compiler. Verified locally on macOS (Swift 6.4.2): `swift build --build-tests -Xswiftc -strict-concurrency=complete` produces no new diagnostics and `swift test` passes. Linux is left to CI.