firebase / firebase/firebase-admin-java
Exception missing in response for failed ones.
- 主要言語
- Java
- スター
- 620
- フォーク
- 305
- 平均マージ
- 3時間 23分
- マージ済み PR(30日)
- 1
説明
When large number of failures, no exception details present in response but only error count. The count of exceptions in response do not match failed count. That means for some failures exception objects are missing.
Documentation https://firebase.google.com/docs/reference/admin/error-handling says "Every API error is guaranteed to contain an error code and an error message" which is not the case here.
Notification is send to registration tokens of almost 2.3 million. Almost 2.2 million are success. For around 88k no exception present in response. I use firebase admin SDK 9.1.1. The method used is sendMulticast().
Sample usage:
BatchResponse response = fcmMessaging.sendMulticast(multiCastMessage, dryRun);
コントリビューションガイド
調査の方向性
sendMulticast() のエントリポイントから開始し、報告されている Firebase Admin SDK 9.1.1 の動作と、リンクされているエラーハンドリングのドキュメントをコンテキストとして、BatchResponse が失敗した登録トークンをどのように表現するかを調べてください。可能であれば大規模なバッチのケースを再現し、その後、失敗したすべてのトークンに例外があること、また例外数と失敗数が一致することを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100