bitwarden / ios

Bitwarden mobile app for iOS.
https://bitwarden.com
GNU General Public License v3.0
140 stars 12 forks source link

[PM-11133] Annotate things as Sendable #856

Closed KatherineInCode closed 3 weeks ago

KatherineInCode commented 3 weeks ago

🎟ī¸ Tracking

https://bitwarden.atlassian.net/browse/PM-11133

📔 Objective

This is part of the iOS 18 / Xcode 16 / Swift 6 effort

This adds Sendable annotations to various struct and enum declarations that were not already implicitly Sendable. This greatly reduces the number of warnings with strict concurrency turned on. As well, @preconcurrency annotations are being added to BitwardenSDK imports because those objects will be marked as Sendable at some point in the future, and this enables the newly-Sendable objects to be warning-free.

⏰ Reminders before review

đŸĻŽ Reviewer guidelines

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.56%. Comparing base (2ed93f0) to head (d49c4b2). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #856 +/- ## ======================================= Coverage 88.56% 88.56% ======================================= Files 611 611 Lines 30361 30361 ======================================= Hits 26888 26888 Misses 3473 3473 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 3 weeks ago

Logo Checkmarx One – Scan Summary & Details – 2c29ca81-a464-469b-9042-bbf934300c1e

No New Or Fixed Issues Found