Skip to content

Add opt-in gRPC server reflection #31

Open

Description

@jimeh

Expose the standard gRPC reflection service so tools such as grpcurl can discover registered services and message descriptors without separately supplied proto files.

Acceptance

  • Select and document the supported reflection protocol version(s), using canonical schemas and preserving their notices.
  • Return the registered service list and the transitive descriptor closure required by its methods; report unknown symbols/files according to the protocol.
  • Make exposure opt-in and authorize it through the application's normal policy. Do not reveal unrelated private descriptors or bypass handler authentication.
  • Preserve descriptor identity, generated bindings and optional dependency isolation; bound streaming requests, returned descriptor data and resource lifetime.
  • Demonstrate grpcurl service discovery and actual RPC invocation without local proto files, plus malformed/unknown/unauthorized and cancellation cases.
  • Include public typing, installed consumers and compatibility with the selected message-binding strategy.

Choose package/API ownership before implementation. Reflection is an optional diagnostic service, not automatic access to every descriptor in a global pool.

Reference: gRPC reflection.


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