This PR supercedes #1334.

It introduces SafeMetadata, an immutable, thread-safe wrapper around io.grpc.Metadata, solving the ergonomics issues blocking the original PR.

Key Changes:

  • Added kyo.grpc.SafeMetadata (Immutable Algebra).
  • Refactored RequestOptions, ClientCall, and ServerCallHandlers to use potentially-unsafe io.grpc.Metadata ONLY at the IO boundary.
  • Updated benchmarks to match new API.

Closes #390 /claim #390

Claim

Total prize pool $1,000
Total paid $0
Status Pending
Submitted January 24, 2026
Last updated January 24, 2026

Contributors

MO

Mohamad Al-Zawahreh

@merchantmoh-debug

100%

Sponsors

KY

Kyo

@getkyo

$500
KA

Kaizen Solutions

@kaizen-solutions

$250
CA

Calvin Lee Fernandes

@calvinlfer

$250