CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
Auto Refresh Bot Tokens
- 主要言語
- JavaScript
- スター
- 3
- フォーク
- 6
- 平均マージ
- 2日 47分
- マージ済み PR(30日)
- 4
説明
It used to be that it never mattered whether or not the bot tokens expired. As the RERUM API code has shifted and evolved, this affordance has dissolved. As such, every increment (3 mos? 6mos? 12mos?) the bot token expires. This causes the CI/CD and tests to experience 401s which stop deploys from occurring on dev and prod.
Just like with all other applications, the RERUM API bots should be able to refresh themselves automatically when this occurs. We also have the option to bring back perma-tokens for bots.
コントリビューションガイド
調査の方向性
この issue では、RERUM API における bot-token 認証が取り上げられており、dev と prod の CI/CD およびテストで 401 失敗が報告されています。まず、bot token が発行され、使用される箇所を追跡し、次に影響を受けるテストまたはデプロイフローで有効期限切れに関連する 401 を再現してください。完了条件は、期限切れ後に bot が復旧すること、または選択した permanent-token アプローチが実装され、これらのフローをブロックしないことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- authentication, backend-api-design, ci-cd
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100