The SDK seems to not to be retrying when the token endpoint returns an error
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 32/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
issue では、ファイル、テスト、エントリポイントのいずれも指定されていません。SDK のトークンエンドポイントのエラーハンドリングと、設定された retry パスを追跡し、その後エンドポイントエラーの回帰テストを追加してください。トークンエンドポイントのエラーが即座に返されるのではなく、設定された retry 動作に従うようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of OpenFGA and the issue still persists.
- I have searched the Slack community and have not found a suitable solution or answer.
- I agree to the terms within the OpenFGA Code of Conduct.
Description
When the token endpoint returns error, the errors are returned to the client application instead of retrying.
Expectation
The SDK should retry, based on how it's configured for retrying.
Reproduction
OpenFGA SDK version
Latest
OpenFGA version
Latest
SDK Configuration
Logs
No response
References
No response
- 主要言語
- Python
- スター
- 85
- フォーク
- 36
- 平均マージ
- 3時間 8分
- マージ済み PR(30日)
- 3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openfga/python-sdk のほかの issue
-
openfga/python-sdk#308 · 担当者 1 名 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
openfga/python-sdk#214 · コメント 1 件 · リアクション 1 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
openfga/python-sdk#194 · コメント 2 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
openfga/python-sdk#106 · コメント 2 件 ·
-
bug waiting-user-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
openfga/python-sdk#95 · コメント 4 件 ·
openfga/python-sdk の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·