getsentry / getsentry/sentry-java

Send cached and pending envelopes when an envelope is going to be sent

未關閉
#1,932 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Android Errors Improvement
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

Related to https://github.com/getsentry/sentry-java/issues/912#issuecomment-1057079937

iOS already does it.

The use case is, you capture envelope A and you have no connection, the envelope is cached and won't be sent until you restart your app.
If you didn't restart your app but you captured B another envelope, before sending envelope B, it's gonna read from the disk all cached and pending envelopes (read envelope A here) and send them in bulk.

貢獻指南

開啟貢獻指南

研究方向

沒有指定檔案或測試。先從 envelope 的傳送路徑,以及磁碟快取和待處理 envelope 的處理著手,接著與 issue 中提到的 iOS 行為進行比較。完成的標準是:一次傳送嘗試也會載入已快取和待處理的 envelope,並批次傳送它們,而不需要重新啟動應用程式。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, kotlin
領域
networking
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。