Skip to content

ref(sentry): Migrate MetricKit reports and deprecated APIs - #222

Open
philprime wants to merge 2 commits into
mainfrom
philprime/chore/resolve-deprecations-migrate-metrickit
Open

philprime wants to merge 2 commits into
mainfrom
philprime/chore/resolve-deprecations-migrate-metrickit

Conversation

@philprime

@philprime philprime commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Delegate scalar MetricKit metrics and exit counters to Sentry’s experimental MetricKit integration, removing the overlapping custom helpers. Keep custom histograms and diagnostic metrics that the SDK does not emit, and migrate metric calls and breadcrumb data to nondeprecated APIs using the compact options formatting.

Reporting behavior

  • Enable every diagnostic and metric report in both the app and share extension. This includes MetricKit crash diagnostics, which can duplicate events captured by Sentry’s crash handler.
  • SDK-managed metrics retain their names and use the SDK’s timestamps, units, and attributes. Timestamps now reflect the midpoint of the MetricKit reporting interval.
  • Remove deprecated SIGTERM, non-fully-blocking hang, and watchdog V2 settings. On Sentry 9.32, removing the watchdog V2 opt-in restores the SDK’s default watchdog implementation.

Verification
Passed make build SIMULATOR_OS=27.0, the final app build, make lint, and core tests. The default app test run passed its share-extension test plan. Existing non-deprecation build warnings remain.

@philprime
philprime marked this pull request as ready for review October 31, 2026 19:37
@philprime
philprime enabled auto-merge (squash) October 31, 2026 19:45
@sentry

sentry Bot commented Oct 31, 2026

Copy link
Copy Markdown

Size Analysis

1 component analyzed

iOS Builds

Name Configuration Version Download Size Install Size
Flinky (iOS)
com.techprimate.Flinky
-- 1.1.13 (1) 4.0 MB (-3.6 KB) 9.8 MB (-16.4 KB)

Configure flinky status check rules

@sentry

sentry Bot commented Oct 31, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
Flinky com.techprimate.Flinky 1.1.13 (1) --

⚙️ flinky Build Distribution Settings

@sentry

sentry Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
com.techprimate.Flinky
com.techprimate.Flinky
- - - - - - ✅ 8 uploaded

Base commit 5f79decf9cf608c59165ea2655ad6511d593fe0c did not produce snapshots to compare against. Did its snapshot job fail? Try rebasing this branch on a commit with a successful snapshot job.

⚙️ flinky Snapshot Settings

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.

1 participant