Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(storage): resolve swiftformat errors and warnings #3852

Merged

Conversation

phantumcode
Copy link
Member

Issue #

Description

Resolving SwiftFormat errors and warnings for the Storage plugin.

General Checklist

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • All integration tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@phantumcode phantumcode requested a review from a team as a code owner September 3, 2024 18:17
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

Attention: Patch coverage is 75.68882% with 150 lines in your changes missing coverage. Please review.

Project coverage is 68.54%. Comparing base (ca6c65a) to head (2326834).
Report is 11 commits behind head on chore/resolve_swiftformat.

Files with missing lines Patch % Lines
...lugin/AWSS3StoragePlugin+AsyncClientBehavior.swift 53.73% 31 Missing ⚠️
.../AWSS3StorageService+MultiPartUploadBehavior.swift 0.00% 18 Missing ⚠️
...Plugin/Dependency/UploadPartInput+presignURL.swift 0.00% 17 Missing ⚠️
...Storage/AWSS3StorageService+DownloadBehavior.swift 0.00% 17 Missing ⚠️
...gin/Support/Internal/StorageTransferResponse.swift 12.50% 14 Missing ⚠️
...oragePlugin/Configuration/AWSS3PluginOptions.swift 0.00% 6 Missing ⚠️
...port/Internal/DefaultStorageTransferDatabase.swift 80.64% 6 Missing ⚠️
...agePlugin/Support/Internal/StorageUploadPart.swift 71.42% 6 Missing ⚠️
...ugin/Support/Internal/StorageUploadPartEvent.swift 33.33% 6 Missing ⚠️
...ePlugin/Support/Internal/StorageTransferType.swift 50.00% 5 Missing ⚠️
... and 11 more
Additional details and impacted files
@@                      Coverage Diff                      @@
##           chore/resolve_swiftformat    #3852      +/-   ##
=============================================================
+ Coverage                      68.51%   68.54%   +0.03%     
=============================================================
  Files                           1080     1023      -57     
  Lines                          37608    35703    -1905     
=============================================================
- Hits                           25766    24474    -1292     
+ Misses                         11842    11229     -613     
Flag Coverage Δ
API_plugin_unit_test 68.99% <ø> (+0.03%) ⬆️
AWSPluginsCore ?
Amplify 47.56% <ø> (ø)
Analytics_plugin_unit_test 84.52% <ø> (ø)
Auth_plugin_unit_test 79.69% <ø> (+0.01%) ⬆️
DataStore_plugin_unit_test 81.30% <ø> (+0.08%) ⬆️
Geo_plugin_unit_test 72.00% <ø> (ø)
Logging_plugin_unit_test 62.95% <ø> (ø)
Predictions_plugin_unit_test 37.32% <ø> (ø)
PushNotifications_plugin_unit_test 86.21% <ø> (ø)
Storage_plugin_unit_test 76.64% <75.68%> (-0.17%) ⬇️
unit_tests 68.54% <75.68%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phantumcode phantumcode merged commit 7317793 into chore/resolve_swiftformat Oct 11, 2024
67 of 70 checks passed
@phantumcode phantumcode deleted the chore/resolve_swiftformat_storage branch October 11, 2024 22:59
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