Repository navigation
Rename protoc-gen-rust-grpc to protoc-gen-grpc-rust - #2955
Merged
Merged
Conversation
gRPC isn't part of protobuf's rust codegen and isn't generating messages; people would expect the name to be protoc-gen-grpc-rust, matching that of examples like grpc-java, grpc-swift, grpc-web, and even Buf's protoc-gen-grpc-py. People (other than me!) have noticed the non-idiomatic name and even have workarounds for it by using symlinks to provide an alias[1]. Go is the only existing outlier I'm aware of (protoc-gen-go-grpc), but it has a complicated history anyway as it _was_ previously a plugin for the Go Protobuf plugin. Unfortunately we have done a release, so the old name will be orphaned. 1. https://github.com/rvolosatovs/docker-protobuf/blob/d387177a3a8139c6a47f1b1a52232e0f4f39f9e2/Dockerfile#L548
dfawley
approved these changes
Oct 23, 2026
LucioFranco
added a commit
that referenced
this pull request
Oct 26, 2026
…-plz (#2963) ## Motivation release-plz has failed on every push to `master` since #2955, so the release PR (#2800) hasn't been updated since Oct 22 and is missing #2962. The `release` job fails with: ``` Package `protoc-gen-grpc-rust` has `publish = false` or `publish = []` in the Cargo.toml, but it has `publish = true` in the release-plz configuration. ``` and the `release-pr` job is skipped as a result. In the release-plz version the action installs (0.4.1), a package that has its own `[[package]]` entry is treated as `publish = true` unless the entry says otherwise. `check_publish_fields` then errors when that disagrees with `Cargo.toml`. ## Solution Set `publish = false` in `release-plz.toml` for the two packages that have a `[[package]]` entry and `publish = false` in their `Cargo.toml`: - `protoc-gen-grpc-rust` - `grpc-rustls` `grpc-rustls` isn't in the current error, but it has the same setup and would fail next once `protoc-gen-grpc-rust` passes. The other unpublished crates (`grpc-xds`, `grpc-google-cloud-auth`, `xds-test-util`) have no `[[package]]` entry, so the check skips them. Once this merges, release-plz should regenerate #2800.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gRPC isn't part of protobuf's rust codegen and isn't generating messages; people would expect the name to be protoc-gen-grpc-rust, matching that of examples like grpc-java, grpc-swift, grpc-web, and even Buf's protoc-gen-grpc-py. People (other than me!) have noticed the non-idiomatic name and even have workarounds for it by using symlinks to provide an alias[1]. Go is the only existing outlier I'm aware of (protoc-gen-go-grpc), but it has a complicated history anyway as it was previously a plugin for the Go Protobuf plugin.
Unfortunately we have done a release, so the old name will be orphaned.