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

Sentry: Disable tracking HTTP client errors and app hangs #10373

Merged
merged 3 commits into from
Aug 4, 2023

Conversation

itsmeichigo
Copy link
Contributor

@itsmeichigo itsmeichigo commented Aug 2, 2023

Closes: #10372
Please also review Automattic/Automattic-Tracks-iOS#261.

Description

This PR updates Automattic-Tracks-iOS and adds configs to disable HTTP client error and app hang tracking on Sentry. The purpose is to stop reports of these errors bloating up Sentry report list - we'll find better ways to keep track of the issues.

Testing instructions

It's not straightforward to check that these errors are not tracked from debug builds. You can use breakpoints to ensure that the options are delivered to Automattic-Tracks-iOS's CrashLogging file successfully.

Screenshots

N/A


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@itsmeichigo itsmeichigo added type: enhancement A request for an enhancement. category: tooling Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc. labels Aug 2, 2023
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Aug 2, 2023

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr10373-72ffadf on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@selanthiraiyan selanthiraiyan self-assigned this Aug 2, 2023
Podfile Outdated
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :branch => 'trunk'
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :commit => ''
pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :commit => '1d3bb8030b3aed54c2b24c18fb95f3945ac63f9f'
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like there have been a few updates here. Should we point it to the latest commit, d841ba6b6a048218a8d8507b8d71c0c1349036ae?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since the PR has been merged, I've point the library to trunk now. I'll update it to a version number once the update is released.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since I cannot trigger CI to build the updated version of the library on Cocoapods, I'll merge this PR for now to make it to the code freeze (pointing the library to trunk). Hopefully, a release manager would help with updating the library version cc @spencertransier 🙇

@selanthiraiyan selanthiraiyan self-requested a review August 3, 2023 02:54
Copy link
Contributor

@selanthiraiyan selanthiraiyan left a comment

Choose a reason for hiding this comment

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

:shipit:

@itsmeichigo itsmeichigo merged commit ecb9e05 into trunk Aug 4, 2023
@itsmeichigo itsmeichigo deleted the feat/10372-sentry-config branch August 4, 2023 03:42
@itsmeichigo itsmeichigo added this to the 14.8 milestone Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: tooling Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc. type: enhancement A request for an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sentry: Disable tracking HTTP client errors and app hang
3 participants