8000 [PM-11910] Improve Crashlytics logs by fedemkr · Pull Request #1011 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[PM-11910] Improve Crashlytics logs #1011

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

Merged
merged 7 commits into from
Oct 4, 2024
Merged

Conversation

fedemkr
Copy link
Member
@fedemkr fedemkr commented Oct 4, 2024

🎟️ Tracking

PM-11910

📔 Objective

Improve Crashlytics error reports so we can identify issues causes easier.

  • Added UserId to the reports.
  • Added Region type to the reports, i.e. US, EU or Self-Hosted (no specific URL configuration is logged)
  • Conformed to CustomNSError on some Error with associated values so that additional info can be set in the errorUserInfo to be sent to Crashlytics and we have a better understanding on the context of such errors.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link
Contributor
github-actions bot commented Oct 4, 2024

Logo
Checkmarx One – Scan Summary & Details260f0324-e0d8-4554-8e94-0dd320544e41

No New Or Fixed Issues Found

Copy link
codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 62.66667% with 28 lines in your changes missing coverage. Please review.

Project coverage is 89.06%. Comparing base (cc8039a) to head (e4c76bf).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...vices/ErrorReporter/CrashlyticsErrorReporter.swift 0.00% 12 Missing ⚠️
...icatorBridgeKit/AuthenticatorKeychainService.swift 0.00% 6 Missing ⚠️
...d/Core/Platform/Utilities/OSLogErrorReporter.swift 0.00% 6 Missing ⚠️
...ore/Platform/Services/API/Errors/ServerError.swift 0.00% 3 Missing ⚠️
...re/Platform/Extensions/BitwardenSdk+Platform.swift 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1011      +/-   ##
==========================================
- Coverage   89.10%   89.06%   -0.04%     
==========================================
  Files         657      660       +3     
  Lines       41317    41390      +73     
==========================================
+ Hits        36814    36866      +52     
- Misses       4503     4524      +21     

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

matt-livefront
matt-livefront previously approved these changes Oct 4, 2024
Copy link
Collaborator
@matt-livefront matt-livefront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a few linting warnings that I noticed.

…swift

Co-authored-by: Matt Czech <matt@livefront.com>
fedemkr and others added 3 commits October 4, 2024 16:38
Co-authored-by: Matt Czech <matt@livefront.com>
….swift

Co-authored-by: Matt Czech <matt@livefront.com>
Co-authored-by: Matt Czech <matt@livefront.com>
@fedemkr fedemkr requested a review from matt-livefront October 4, 2024 19:38
@fedemkr fedemkr merged commit a924c63 into main Oct 4, 2024
9 checks passed
@fedemkr fedemkr deleted the pm-11910/improve-crashlytics-logs branch October 4, 2024 20:48
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
0