Skip to content

Add native gRPC across the HTTP/2 client and servers #22

Closed

Description

@jimeh

Add native gRPC over HTTP/2 using the existing core message bindings, method declarations and bounded native session machinery. Delivered in #25 after native Connect streaming (#20).

Scope

  • Support unary, server-streaming, client-streaming and bidirectional streaming through the Async client/host and native Falcon HTTP/2 path.
  • Use protobuf messages and identity/gzip coding over h2c, verified TLS and mTLS. Preserve protocol-neutral generated clients and declarations.
  • Add actual gRPC framing, timeout handling, metadata, trailing status and rich error details. A successful call must have valid final status and stream completion; HTTP success alone is insufficient.
  • Keep Connect as the default. Make protocol selection and unsupported transport behavior explicit, preserving existing custom transport/binding interfaces.
  • Retain application-owned tracing setup, accurate gRPC OpenTelemetry conventions, cancellation and original processing-task cleanup/identity boundaries.

Acceptance

  • All four shapes interoperate in both directions with independently generated official grpc-go peers, including reference controls and TLS/mTLS enforcement checks.
  • The selected official gRPC conformance inventories run through real Ruby clients and both native server adapters with exact accounting.
  • Malformed framing/status, message/header limits, backpressure, half-close, cancellation, deadlines, healthy sibling streams and cleanup have focused observable tests.
  • Existing Connect unary/GET/gzip/streaming, independent interop, optional packages and public typing checks remain green.
  • Public API/SPI signatures, installed consumers and documentation identify the supported subset and deliberate compatibility policies.

Protobuf-only is the initial gRPC subset. Portable NetHTTP/Rack/Rails/Testing and Falcon HTTP/1 paths retain their Connect support and reject unsupported native gRPC explicitly. No gRPC-Web, new server engine, core runtime dependency or publishing work belongs to this issue.


Written on behalf of jimeh by gpt-6.1-sol using Codex via T3 Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions