Skip to content

build(gen): pin protoc-gen-go / protoc-gen-go-grpc versions for reproducible codegen #18

Description

@Bugs5382

The committed Go stubs are generated with protoc-gen-go v1.34.2 and protoc-gen-go-grpc v1.5.1, but buf.gen.yaml uses unversioned local plugins resolved from PATH. A contributor whose machine has a newer protoc-gen-go, such as v1.36, regenerates the whole tree with churn. That happened on #17 and had to be undone by reinstalling the pinned versions.

Pin the generator versions so buf generate is reproducible for everyone. We can either switch buf.gen to remote plugins with explicit versions, or have the generate task install the pinned versions before running. Low-risk build hygiene.

Metadata

Metadata

Assignees

Labels

enhancementNew feature (feat). Minor version bump.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions