KilnVM Live Labs /lab/buf-proto-lint-breaking
Step 1 of 3 Docs Claim This Sandbox
Unclaimed Preview Sandbox · Hosted by KilnVM (15-run evaluation cap). Maintain this tool? Claim & embed on your docs →

Protobuf Linting and Breaking Change Detection with Buf

Configure a multi-file Buf v2 workspace, fix STANDARD Protobuf lint errors, and resolve a wire-breaking field mutation against Git history.

Step 1 of 3

Point buf.yaml to proto/ and pass buf build

/workspace is on Git branch feat/rename and contains proto/pet/v1/pet.proto importing google/type/datetime.proto, but starter buf.yaml comments out the modules path, so buf build fails.

Uncomment modules (path: proto) in buf.yaml and run buf build:

bash
cd /workspace && (buf build || true) && sed -i -e 's/# modules:/modules:/' -e 's/#   - path:/  - path:/' buf.yaml && buf build