Skip to content

feat(visionOS): Enable MetricKit Integration for visionOS#7466

Merged
denrase merged 2 commits intomainfrom
enha/metrickit-visionos
Feb 17, 2026
Merged

feat(visionOS): Enable MetricKit Integration for visionOS#7466
denrase merged 2 commits intomainfrom
enha/metrickit-visionos

Conversation

@denrase
Copy link
Copy Markdown
Collaborator

@denrase denrase commented Feb 16, 2026

Enable MetricKit Integration for visionOS

📜 Description

💡 Motivation and Context

Closes #6458

💚 How did you test it?

Unite tests. Cannot simulate MetricKit payload from Xcode debug menu, as this is apparently only available for real hardware. Could launch the simulator app though with installed integration.

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

Enable MetricKit Integration for visionOS
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 16, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (visionOS) Enable MetricKit Integration for visionOS by denrase in #7466

Bug Fixes 🐛

  • Revert TelemetryScopeApplier gating of user attributes on sendDefaultPII by philprime in #7437

Internal Changes 🔧

Deps

  • Bump actions/checkout from 6.0.1 to 6.0.2 by dependabot in #7463
  • Bump getsentry/craft from 2.21.2 to 2.21.4 by dependabot in #7462
  • Bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.21.2 to 2.21.4 by dependabot in #7461
  • Bump fastlane from 2.232.0 to 2.232.1 by dependabot in #7460
  • Bump fastlane-plugin-sentry from 2.0.0 to 2.1.0 by dependabot in #7459
  • Bump faraday from 1.10.4 to 1.10.5 by dependabot in #7446

🤖 This preview updates automatically when you update the PR.

@denrase denrase changed the title enha(visionOS): Enable MetricKit Integration for visionOS feat(visionOS): Enable MetricKit Integration for visionOS Feb 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 180bb5b

@denrase denrase added the ready-to-merge Use this label to trigger all PR workflows label Feb 16, 2026
@denrase denrase marked this pull request as ready for review February 16, 2026 14:31
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.324%. Comparing base (b9e1a29) to head (180bb5b).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #7466       +/-   ##
=============================================
+ Coverage   85.301%   85.324%   +0.023%     
=============================================
  Files          480       480               
  Lines        28621     28620        -1     
  Branches     12383     12387        +4     
=============================================
+ Hits         24414     24420        +6     
+ Misses        4157      4150        -7     
  Partials        50        50               
Files with missing lines Coverage Δ
Sources/Swift/Core/Integrations/Integrations.swift 100.000% <ø> (ø)
...Core/MetricKit/SentryMXCallStackTree+Parsing.swift 100.000% <ø> (ø)
...s/Swift/Core/MetricKit/SentryMXCallStackTree.swift 100.000% <ø> (ø)
Sources/Swift/Core/MetricKit/SentryMXManager.swift 93.333% <ø> (ø)
...ft/Core/MetricKit/SentryMetricKitIntegration.swift 80.000% <ø> (ø)
Sources/Swift/Options.swift 100.000% <ø> (ø)

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9e1a29...180bb5b. Read the comment docs.

@github-actions
Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1230.49 ms 1262.85 ms 32.36 ms
Size 24.14 KiB 1.11 MiB 1.09 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
79e2bb8 1216.37 ms 1242.42 ms 26.05 ms
a180235 1222.87 ms 1255.10 ms 32.23 ms
4b41eee 1209.96 ms 1243.12 ms 33.16 ms
3bff9ff 1217.72 ms 1246.43 ms 28.71 ms
24ac927 1218.04 ms 1242.02 ms 23.98 ms
870ddae 1224.24 ms 1249.45 ms 25.21 ms
79cee27 1214.65 ms 1238.66 ms 24.01 ms
0e4b033 1203.74 ms 1249.71 ms 45.97 ms
47c9f79 1216.57 ms 1240.94 ms 24.37 ms
c796e6d 1226.33 ms 1247.33 ms 21.00 ms

App size

Revision Plain With Sentry Diff
79e2bb8 24.14 KiB 1.04 MiB 1.02 MiB
a180235 24.14 KiB 1.11 MiB 1.09 MiB
4b41eee 24.14 KiB 1.09 MiB 1.07 MiB
3bff9ff 24.14 KiB 1.11 MiB 1.09 MiB
24ac927 24.14 KiB 1.06 MiB 1.04 MiB
870ddae 24.14 KiB 1.10 MiB 1.08 MiB
79cee27 24.14 KiB 1.10 MiB 1.08 MiB
0e4b033 24.14 KiB 1.11 MiB 1.09 MiB
47c9f79 24.14 KiB 1.09 MiB 1.06 MiB
c796e6d 24.14 KiB 1.11 MiB 1.09 MiB

Copy link
Copy Markdown
Member

@philprime philprime left a comment

Choose a reason for hiding this comment

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

LGTM

@denrase denrase merged commit c899804 into main Feb 17, 2026
266 of 282 checks passed
@denrase denrase deleted the enha/metrickit-visionos branch February 17, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Use this label to trigger all PR workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MetricKit integration not available on visionOS

2 participants