Count the client registration limit in fluentcms.rate_limit.refused
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- csharp
- 領域
- backend, observability
調査の方向性
DynamicClientRegistration から始めてください。ここでは ClientRegistrationLimiter.TryAcquire による拒否が LimitErrorCodes.RateLimited とともに 429 を返します。そのうえで、他の6つのポリシーについて fluentcms.rate_limit.refused が記録されている箇所を見つけてください。その箇所に client-registration というポリシー値を追加します。registrationsPerHour を超えるテストで、そのポリシー名の下にカウンターが表示されれば完了です。仕様書 4.15 とリリースノートにも新しい値を反映する必要があります。
索引モデルが issue の本文から書いたものです。
説明
Found in the review of #3550 (#3385).
Problem
DynamicClientRegistration answers 429 with LimitErrorCodes.RateLimited when ClientRegistrationLimiter.TryAcquire refuses (the registrationsPerHour limit), but nothing records it in fluentcms.rate_limit.refused, so only the six policies of #3385 are counted. A client that floods /connect/register is refused without the counter moving.
Proposal
Record it under a new fluentcms.policy value such as client-registration, and add the value to spec 4.15 and the release note.
Acceptance
- A registration refused by the limit counts under its own policy name
- A test that exceeds
registrationsPerHour
Follows #3550.
- 主要言語
- C#
- スター
- 567
- フォーク
- 107
- 平均マージ
- 2時間 35分
- マージ済み PR(30日)
- 425
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluentcms/FluentCMS のほかの issue
-
area:identity type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
area:events area:jobs area:settings area:storage type:chore
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 1 日以内に返信
-
area:admin type:chore
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
メンテナーはふだん 1 日以内に返信
-
area:authorization area:identity type:chore
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
メンテナーはふだん 1 日以内に返信
-
area:content type:chore
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
メンテナーはふだん 1 日以内に返信
fluentcms/FluentCMS の issue をすべて見る
似ている issue
-
area-CodeGen-coreclr untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotnet/runtime#138181 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-area-label
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
valkey-io/valkey-glide#7849 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bitfoundation/bitplatform#15455 ·
メンテナーはふだん 1 日以内に返信
-
area-Asset area-GameStudio area-Samples bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信