protobuild

package
v0.0.0-...-043add5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package protobuild is the home of the GoCell proto -> .pb.go toolchain conformance check. It carries no runtime code.

The pipeline itself (buf + protoc-gen-go + protoc-gen-go-grpc) is configured hermetically at the repo root (buf.yaml + buf.gen.yaml) and driven by the Makefile `proto-gen` target via `go run` — no buf/protoc binary is installed or pinned in the main module's go.mod. CI gates drift with hack/verify-codegen-proto.sh (regenerate + git diff).

conformance_test.go imports the committed generated/contracts/grpc/conformance/v1 fixture and exercises it against the main module's protobuf + grpc runtimes, so a broken toolchain, an incompatible plugin/runtime version pair, or a stale checked-in .pb.go fails `go test` here — not only the CI diff gate. The first real cell-owned grpc contract lands with examples/iotdevice in the PR-8 epic (#1151).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL