Skip to content

chore(deps): update Cocoa SDK to v9.29.1 - #2866

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/modules/sentry-cocoa/9.29.1
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
deps/modules/sentry-cocoa/9.29.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-cocoa from 9.29.0 to 9.29.1.

Auto-generated by a dependency updater.

Changelog

9.29.1

Fixes

  • Add experimental support for the new URLSession HTTP loader for automatic network instrumentation, preserving original request details in Session Replay after redirects. Opt in with options.experimental.enableNewURLLoaderSwizzling = true (disabled by default) (#8845)
  • Preserve MetricKit diagnostics containing frames without a binary UUID instead of dropping the entire diagnostic (#9080)
  • Session Replay: Populate trace_ids in replay events to enable searching replays by trace ID (#9092)
  • Retain raw MetricKit diagnostic attachments when call-stack decoding fails and enableMetricKitRawPayload is enabled, without attaching unrelated current-thread stack traces (#9070)
  • Prevent duplicate HTTP spans and breadcrumbs when watchOS resumes an internal URLSession task copy after the original request finishes (#9095)
  • Remove the compiler deprecation warning for enableAppHangTracking so applications can continue opting out of App Hang tracking until its removal in v10 (#9094)
  • Reset appHangTimeoutInterval values of 0 or lower to the default of 2 seconds, which previously spun the app hang tracker thread in a busy loop (#9020)
  • Release App Hang tracking listener wrappers when listeners are removed (#9127)

@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa/9.29.1 branch from 16b774d to 6d9d4a1 Compare September 25, 2026 03:02
Comment thread modules/sentry-cocoa
@@ -1 +1 @@
Subproject commit d9df1c4e8d8466c7f8b3c56150378927dadf1b8e
Subproject commit 24a070d3f99359ae982c776b412a564f72bd4a93

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The updated sentry-cocoa dependency (v9.29.1) contains a known crash due to an unrecognized selector, isMetricKitEvent, which can be triggered during normal SDK operations.
Severity: CRITICAL

Suggested Fix

Revert the update of the sentry-cocoa dependency from v9.29.1. Investigate if a patched version is available that resolves the isMetricKitEvent selector issue before upgrading.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: modules/sentry-cocoa#L1

Potential issue: The update to `sentry-cocoa` v9.29.1 introduces a known runtime crash.
A refactor in the Cocoa SDK moved the `isMetricKitEvent()` method, causing an
`NSInvalidArgumentException` (unrecognized selector) when the Objective-C runtime fails
to find it. This crash can be triggered during normal event processing by the SDK, even
if MetricKit features are not explicitly enabled. The `sentry-unity` integration does
not wrap internal Cocoa SDK calls in exception handlers, making it vulnerable to this
unpredictable crash in production environments.

Did we get this right? 👍 / 👎 to inform future reviews.

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.

1 participant