chore: Merge 4.67.1 into single-server#6829
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis patch release (4.67.0 → 4.67.1) bumps version metadata across Android, iOS, and package.json. Concurrently, the Android notification system is refactored with enhanced concurrency safety via volatile references and ConcurrentHashMap, comprehensive error handling with retry/timeout logic, verbose diagnostic logging, and improved E2E message handling paths. Changes
Sequence Diagram(s)sequenceDiagram
participant App as Android App
participant CNS as CustomPushNotification
participant React as React Context
participant LN as LoadNotification
participant Server as Server
participant E2E as E2E Decryption
App->>CNS: onReceived(Ejson)
activate CNS
Note over CNS: Validate notId
alt React not initialized
CNS->>CNS: Spawn background thread
CNS->>React: Wait for init (timeout)
end
alt Message ID only
CNS->>LN: loadNotificationAndProcess()
activate LN
LN->>Server: GET push.get (with retry/timeout)
Server-->>LN: Full notification payload
LN->>CNS: Callback with loaded Bundle
deactivate LN
else Full message received
Note over CNS: Proceed with available data
end
CNS->>CNS: processNotification()
alt E2E encrypted
alt React context available (fast path)
CNS->>E2E: Decrypt immediately
E2E-->>CNS: Decrypted content
else Async processing (slow path)
CNS->>E2E: Schedule async decryption
E2E-->>CNS: Callback with decrypted content
end
end
CNS->>CNS: showNotification()
Note over CNS: Log avatar, build notification
CNS->>App: Display notification
deactivate CNS
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes
Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Proposed changes
Issue(s)
https://rocketchat.atlassian.net/browse/NATIVE-1099
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Summary by CodeRabbit
Version
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.