Skip to content

fix(server): use public tonic body type in gRPC rate limiter#1872

Merged
alangou merged 1 commit into
NVIDIA:mainfrom
alangou:alangou/fix-build-issue-pr-1566
Jun 11, 2026
Merged

fix(server): use public tonic body type in gRPC rate limiter#1872
alangou merged 1 commit into
NVIDIA:mainfrom
alangou:alangou/fix-build-issue-pr-1566

Conversation

@alangou

@alangou alangou commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix the server build with tonic 0.14 by replacing the private tonic::body::BoxBody alias in the gRPC rate limiter with the public tonic::body::Body type.

Related Issue

Related to #1566

Changes

  • Updated the gRPC rate limiter response bound to use tonic::body::Body.
  • Updated rate limiter test services to return tonic::body::Body::empty().

Testing

  • mise run pre-commit passes
  • CARGO_TARGET_DIR=/home/op/OpenShell/target mise run build:rust:workspace passes
  • CARGO_TARGET_DIR=/home/op/OpenShell/target mise exec -- cargo test -p openshell-server multiplex:: passes
  • E2E tests added/updated (not applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: Adrien Langou <alangou@nvidia.com>
@alangou alangou requested review from a team, derekwaynecarr and mrunalp as code owners June 11, 2026 15:15

@elezar elezar 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

@alangou alangou merged commit f33fd02 into NVIDIA:main Jun 11, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants