Skip to content

chore: Re-enable DD crash reporting - WPB-27522 - #5072

Open
samwyndham wants to merge 1 commit into
developfrom
chore/dd-crash-reporting-WPB-27522
Open

chore: Re-enable DD crash reporting - WPB-27522#5072
samwyndham wants to merge 1 commit into
developfrom
chore/dd-crash-reporting-WPB-27522

Conversation

@samwyndham

@samwyndham samwyndham commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator
TaskWPB-27522 [iOS] Enable error tracking in DataDog

Issue

This PR re-enables DD crash reporting without RUM. It partially reverts #4407


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

Copilot AI review requested due to automatic review settings July 27, 2026 15:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR re-enables Datadog crash reporting (without turning Datadog RUM back on) in the iOS app, and adds supporting developer/CI workflows to validate and symbolicate crash reports.

Changes:

  • Enable Datadog Crash Reporting in WireDatadog initialization.
  • Add a Developer Tools action to intentionally trigger a crash for validation.
  • Enable (and implement) dSYM upload to Datadog in select Fastlane lanes to support symbolication.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
WireAnalytics/Sources/WireDatadog/WireDatadog.swift Re-enables Datadog crash reporting by enabling the CrashReporting feature.
wire-ios/Wire-iOS/Sources/Developer/DeveloperTools/DeveloperToolsViewModel.swift Adds a Developer Tools button to trigger a deliberate crash for testing crash reporting.
fastlane/Fastfile Adds a Fastlane switch + helper to upload dSYM zip files to Datadog for symbolication.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread fastlane/Fastfile
Comment on lines +931 to +941
def upload_dsyms_to_datadog(options)
build = Build.new(options: options)

upload_symbols_to_datadog(
api_key: ENV["DATADOG_API_KEY"],
dsym_paths: [
"#{build.artifact_path(with_filename: true)}.app.dSYM.zip"
],
site: "datadoghq.eu"
)
end
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Test Results

1 951 tests   1 924 ✅  2m 32s ⏱️
  305 suites     27 💤
    2 files        0 ❌

Results for commit fe59d84.

Summary: workflow run #30281087890
Allure report (download zip): html-report-32403-chore_dd-crash-reporting-WPB-27522

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 30 days with no activity. Please update it or close it in case is not relevant anymore.

@github-actions github-actions Bot added the stale label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants