Increase dashboard gRPC max receive message size#15163
Merged
JamesNK merged 1 commit intorelease/13.2from Mar 12, 2026
Merged
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15163Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15163" |
Contributor
There was a problem hiding this comment.
Pull request overview
Increases the Aspire Dashboard gRPC client’s maximum receive message size to reduce ResourceExhausted errors when streaming large resource watch payloads for applications with many resources.
Changes:
- Set
GrpcChannelOptions.MaxReceiveMessageSizeto 16 MiB for the dashboardDashboardClientgRPC channel.
davidfowl
approved these changes
Mar 12, 2026
Contributor
🎬 CLI E2E Test RecordingsThe following terminal recordings are available for commit
📹 Recordings uploaded automatically from CI run #22988706835 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Increase the gRPC max receive message size on the Dashboard's
DashboardClientfrom the default 4 MB to 16 MB.When an app model has many resources, the resource watch stream can produce messages that exceed the default 4 MB gRPC limit, causing
ResourceExhaustederrors:This sets
MaxReceiveMessageSizeon theGrpcChannelOptionsto 16 MB to accommodate larger payloads.Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: