Skip to content

Update doc for MinDataRate.GracePeriod to clarify different usage - #69964

Merged
halter73 merged 1 commit into
dotnet:mainfrom
elinor-fung:doc-grace-period
Nov 6, 2026
Merged

halter73 merged 1 commit into
dotnet:mainfrom
elinor-fung:doc-grace-period

Conversation

@elinor-fung

Copy link
Copy Markdown
Member

Grace period is applied differently in MinRequestBodyDataRate versus MinResponseDataRate

Copilot AI balanced review requested due to automatic review settings October 21, 2026 21:30
@github-actions github-actions Bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Oct 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

No blocking issues were identified, but missing frozen revision and feedback evidence leaves the required approval checks incomplete.

No open issues 🎉

What changed in this PR

This documentation-only PR clarifies how Kestrel applies MinDataRate.GracePeriod differently to request body reads and response writes.

Changes:

  • Links the constructor and property documentation to the request and response limit details.
  • Explains request-rate averaging and the grace period applied to every response write.
File Description
src/​Servers/​Kestrel/​Core/​src/​MinDataRate.cs Replaces shared timing wording with links to usage-specific documentation.
src/​Servers/​Kestrel/​Core/​src/​KestrelServerLimits.cs Clarifies request-rate calculation and per-write response timing.

Review effort: Balanced

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.
To make sure no conflicting changes have occurred, please rerun validation before merging. You can do this by leaving an /azp run comment here (requires commit rights), or by simply closing and reopening.

@dotnet-policy-service dotnet-policy-service Bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Oct 29, 2026
@SamMonoRT
SamMonoRT requested a review from DeagleGross November 6, 2026 15:58

@halter73 halter73 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@halter73
halter73 merged commit d7c30fc into dotnet:main Nov 6, 2026
38 checks passed
@halter73
halter73 temporarily deployed to copilot-pat-pool November 6, 2026 19:37 — with GitHub Actions Inactive
@halter73
halter73 temporarily deployed to copilot-pat-pool November 6, 2026 19:37 — with GitHub Actions Inactive
@halter73
halter73 temporarily deployed to copilot-pat-pool November 6, 2026 19:38 — with GitHub Actions Inactive
@halter73
halter73 temporarily deployed to copilot-pat-pool November 6, 2026 19:39 — with GitHub Actions Inactive
@halter73
halter73 temporarily deployed to copilot-pat-pool November 6, 2026 19:40 — with GitHub Actions Inactive
@halter73
halter73 temporarily deployed to copilot-pat-pool November 6, 2026 19:41 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 10%

No docs needed: the PR only clarifies XML doc comments for MinDataRate.GracePeriod; no public API or behavior change.

Documentation surfaces considered

  • Conceptual article: Not required — Only XML doc comments in KestrelServerLimits.cs and MinDataRate.cs changed; no behavior change.
  • Migration guidance: Not required — No upgrade action needed.
  • Breaking change: Not required — No compatibility impact; comment-only change.

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — e5f874cc Deployed Nov 6, 2026 by halter73 via conclusion #225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants