feat: cherry-pick otel crash reporting into 5.6-main#2555
feat: cherry-pick otel crash reporting into 5.6-main#2555abdulraqeeb33 merged 2 commits into5.6-mainfrom
Conversation
Co-authored-by: Josh Kasten <josh@onesignal.com> Co-authored-by: AR Abdul Azeez <abdul@onesignal.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…n compatibility OneSignalDispatchers does not exist in 5.6-main. Use the equivalent suspendifyOnThread utility that is available in this branch. Made-with: Cursor
📊 Diff Coverage ReportDiff Coverage Report (Changed Lines Only)Threshold: 80% Changed Files Coverage
Overall Coverage (Changed Lines Only)270/1206 changed lines covered (22.4%) ❌ Coverage Check FailedFiles below 80% threshold:
|
This reverts commit 244284e.
Summary
main(commit 30856ca, PR feat: tel crash reporting #2511) into5.6-mainotelmodule with crash reporting, ANR detection, and OpenTelemetry logging infrastructureOtelLifecycleManagerinto the 5.6-mainOneSignalImpinitialization flowConflict Resolution Notes
Four files had merge conflicts due to structural differences between
mainand5.6-main:OneSignalImp.kt– Kept the 5.6-main class structure and added otel-specific changes (otelManagerfield, initialization, and config store subscription)LoginHelper.kt– Removed (deleted in 5.6-main; otel only changed a log level in it)OneSignalHmsEventBridge.kt– Kept 5.6-main structure, applied log-level change (error→warn)NotificationLifecycleService.kt– Kept 5.6-main structure, applied log-level and exception-handling improvementsTest plan
OtelLifecycleManagerinitializes correctly in the 5.6-main init flowMade with Cursor
This change is