Skip to content

Swift 6 migration - PingUploader callback should be Sendable#3325

Merged
badboy merged 1 commit intomozilla:mainfrom
lmarceau:lm/Sendable-PingUploader
Nov 17, 2025
Merged

Swift 6 migration - PingUploader callback should be Sendable#3325
badboy merged 1 commit intomozilla:mainfrom
lmarceau:lm/Sendable-PingUploader

Conversation

@lmarceau
Copy link
Copy Markdown
Contributor

Context

We're fixing some warnings as part of the Swift 6 migration. We're slowly chipping away at strict concurrency warnings under the Firefox iOS project.

Description

We're using the custom ping uploader protocol, which callback should be made @Sendable. UploadResult is an enum, which means it can be Sendable (or sent across isolation boundaries) as it's a value type.

@badboy badboy merged commit 851eea0 into mozilla:main Nov 17, 2025
30 checks passed
@lmarceau lmarceau deleted the lm/Sendable-PingUploader branch November 17, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants