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

Allow SDK consumers to specify release name #285

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

wzieba
Copy link
Member

@wzieba wzieba commented Mar 25, 2024


Twin PR for Android: Automattic/Automattic-Tracks-Android#206

Description

Allow SDK consumers to specify release name or that it wants to delegate setting up release name to SDK (it's by default).

Why?

We would like to decrease a number of "fake releases" (created by running an up from e.g. PR build) to maek Sentry dashboard easier to navigate in. E.g., these highlighted releases are "fake" ones:

Screenshot 2024-03-25 at 14 11 27

  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

@wzieba wzieba marked this pull request as draft March 28, 2024 08:43
@@ -56,6 +56,10 @@ public class CrashLogging {
options.diagnosticLevel = .error

options.environment = self.dataProvider.buildType
switch self.dataProvider.releaseName {
case .setByApplication(let name): options.releaseName = name
case .setByTracksLibrary: options.releaseName = nil
Copy link
Member Author

Choose a reason for hiding this comment

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

Leaving a breadcrumb: this is bug (addressed in Android in: Automattic/Automattic-Tracks-Android#209)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants