Skip to content

[Swift 6 Migration] Classes in Client/Generated conforming to FeatureManifestInterface should implement thread safety instead of suppressing warnings with @unchecked Sendable #29506

@data-sync-user

Description

@data-sync-user

Please refer to https://mozilla-hub.atlassian.net/browse/FXIOS-13577 for the fullexplanation of the issue.

The types marked @unchecked Sendable need to either:

  1. Conform correctly to Sendable (i.e. not contain mutable state)
  2. Be synchronized to an actor (@MainActor, or another global actor)
  3. Use another thread synchronization mechanism to manually conform to Sendable (e.g. a lock, a queue…)

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions