Offer a Suspending API for `EncryptedLogging.enqueueSendingEncryptedLogs(...)`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- kotlin
- Domain
- mobile-dev
Research direction
Start by reading EncryptedLogging.enqueueSendingEncryptedLogs(...) and the appCoroutineScope.launch usage described in the issue. Trace how the API behaves for FATAL errors and determine the expected suspending entry point. Done means the limitation is addressed by a documented suspending API, with its behavior verified by the relevant tests if present.
Written by the indexing model from the issue text.
Description
This came as an idea after working on WCAndroid#14711, where we identified a limitation of using appCoroutineScope.launch { ... } with encryptedLogging.enqueueSendingEncryptedLogs(...) for FATAL errors.
For more info see (Internal discussion): p1759832867149029-slack-CGPNUU63E
FYI: Another idea to address this issue, from a different angle, could be:
- In case of
FATALerror, store an "intent" of sending logs in the future. - On the next app resume, check the "intent" and collect logs then (because they’re stored now on the disk).
- Dominant language
- Kotlin
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/EncryptedLogging
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in Automattic/EncryptedLogging
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
index-request triaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Anthonyy232/Paperize#614 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
🌑 nextgen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
CCBlueX/LiquidBounce#9214 · 1 comment ·