Skip to content

Conversation

@cvxluo
Copy link
Contributor

@cvxluo cvxluo commented Feb 10, 2026

This PR addresses Linear ID-1344 by improving the default highlights section for mobile SDK issues.

Based on feedback from the mobile team, the highlights were previously sparse and lacked actionable debugging information. This change updates the MOBILE_HIGHLIGHTS preset to include more relevant tags and context keys, such as device.class, release, main_thread, user, low_memory, in_foreground, locale, and user.geo.country_code. Less useful items like trace.trace_id and profile.profile_id have been removed.

A new test has been added to ensure the mobile highlight preset is correctly applied.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.


Linear Issue: ID-1344

Open in Cursor Open in Web

Based on feedback from the mobile team, updated the default highlights
configuration for mobile platforms to show more relevant information:

Added tags:
- device.class
- release
- user

Added context keys:
- device: low_memory, locale
- app: in_foreground
- user: geo.country_code

Removed less useful context:
- trace.trace_id (redundant with trace preview)
- profile.profile_id (almost always empty)
- mobile tag (not very informative)

This change affects Android, Apple (iOS/macOS), React Native, and other
mobile platforms.

Refs: ID-1344

Co-authored-by: Charlie Luo <cvxluo@gmail.com>
@cursor
Copy link
Contributor

cursor bot commented Feb 10, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@linear
Copy link

linear bot commented Feb 10, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants