Commit 8fed7e6
fix: revert AsyncDebounce.schedule to @sendable for Swift 6.0.2
CI on Xcode 16.2 (Swift 6.0.2) rejected the sending migration:
the sole caller (Transport.swift:107) passes a self-isolated closure
{ try await self.createAndSendOffer() } into Debounce (a separate
actor). Swift 6.0.2's region analyzer flags this as a strongly-
transferred-parameter race; 6.0.3+ accepts it but the project floor
is Xcode 16.2.
The cross-actor boundary (caller's actor → Debounce actor) is the
specific surface 6.0.2 scrutinizes more strictly. The other helpers
migrated in 82ffe16 don't cross actor boundaries the same way and
remain unaffected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d60f2ce commit 8fed7e6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments