Skip to content

revert: "feat(sdk): serve any named gRPC service" - #4

Merged
jonasz-lasut merged 1 commit into
mainfrom
revert/serve-service
Aug 25, 2026
Merged

jonasz-lasut merged 1 commit into
mainfrom
revert/serve-service

Conversation

@jonasz-lasut

Copy link
Copy Markdown
Collaborator

Reverts #1 (unreleased), keeping serve as the SDK's only server entry point.

The customization question resolved the other way: a project that needs a customized server - a custom codec, caller-owned health, extra services - can build one entirely from public pieces (tonic, tonic-health, tonic-reflection, proto::FILE_DESCRIPTOR_SET), which is exactly what function-wasm did before #1 and returns to now. The transport glue is ~50 stable lines; an SDK-side abstraction (#1's serve_service, #2's health variant, #3's builder) kept growing to chase one caller's needs and still could not anticipate the next one. The minimal surface wins; #2 and #3 are closed for the same reason.

Reverts #1, keeping serve as the only server entry point. A project
that needs a customized server (a custom codec, caller-owned health)
builds it from public pieces - tonic, tonic-health, tonic-reflection
and proto::FILE_DESCRIPTOR_SET - as function-wasm did before #1. An
SDK-side abstraction cannot anticipate the next customization and
had exactly one caller; the minimal surface wins.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jonasz-lasut
jonasz-lasut merged commit 36e9927 into main Aug 25, 2026
4 checks passed
@jonasz-lasut
jonasz-lasut deleted the revert/serve-service branch August 26, 2026 06:24
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.

1 participant