[PR #476] [MERGED] fix: increase tonic gRPC max_decoding_message_size to 64MB #3325

Closed
opened 2026-07-15 02:02:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/476
Author: @startsevdenis
Created: 6/18/2026
Status: Merged
Merged: 6/29/2026
Merged by: @gschier

Base: mainHead: inc_grpc


📝 Commits (1)

  • 5a462a8 fix: increase tonic gRPC max_decoding_message_size to 64MB

📊 Changes

1 file changed (+12 additions, -4 deletions)

View changed files

📝 crates/yaak-grpc/src/manager.rs (+12 -4)

📄 Description

Summary

Tonic defaults to 4MB max decoding message size, causing 'decoded message length too large' errors for large gRPC responses. Set GRPC_MAX_MESSAGE_SIZE (64MB) on all four gRPC client call sites (unary, bidi streaming, client streaming, server streaming).

Submission

  • [ x ] This PR is a bug fix or small-scope improvement.
  • [ x ] I have read and followed CONTRIBUTING.md.
  • [ x ] I tested this change locally.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/476 **Author:** [@startsevdenis](https://github.com/startsevdenis) **Created:** 6/18/2026 **Status:** ✅ Merged **Merged:** 6/29/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `inc_grpc` --- ### 📝 Commits (1) - [`5a462a8`](https://github.com/mountain-loop/yaak/commit/5a462a86fbde15088955562866b0f7038de307f3) fix: increase tonic gRPC max_decoding_message_size to 64MB ### 📊 Changes **1 file changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/yaak-grpc/src/manager.rs` (+12 -4) </details> ### 📄 Description ## Summary Tonic defaults to 4MB max decoding message size, causing 'decoded message length too large' errors for large gRPC responses. Set GRPC_MAX_MESSAGE_SIZE (64MB) on all four gRPC client call sites (unary, bidi streaming, client streaming, server streaming). ## Submission - [ x ] This PR is a bug fix or small-scope improvement. - [ x ] I have read and followed [`CONTRIBUTING.md`](CONTRIBUTING.md). - [ x ] I tested this change locally. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-15 02:02:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#3325