Skip to content

ci: pin buf remote plugins so codegen stays on connect v1 - #216

Merged
scarmuega merged 1 commit into
mainfrom
work/work-20e50ee6cd8925f29a3c368716b446d7df6ef27c
Oct 14, 2026
Merged

scarmuega merged 1 commit into
mainfrom
work/work-20e50ee6cd8925f29a3c368716b446d7df6ef27c

Conversation

@scarmuega

Copy link
Copy Markdown
Member

Why

buf.build/connectrpc/go was unpinned in buf.gen.yaml. It now resolves to v2.0.0, which emits connectrpc.com/connect/v2 imports. Those need Go ≥ 1.26, but publish-go runs Go 1.25.x. So every PR's "PR Code Generation Check" has failed at publish-go since 2026-09-23.

Change

buf.gen.yaml only. Every remote plugin now carries an explicit version:

plugin pin
connectrpc/go v1.21.0 (last v1 release, go 1.25.0)
protocolbuffers/go v1.36.12
protocolbuffers/python v36.2
protocolbuffers/pyi v36.2
bufbuild/protoschema-jsonschema v0.6.0
grpc-ecosystem/openapiv2 v2.31.0
community/pseudomuto-doc v1.5.1

Apart from connectrpc/go, each pin is the current BSR latest, which is the version CI resolves today. grpc/python, the local plugins, the dotnet templates and publish-go's Go version are unchanged. Moving to connect v2 is left for a separate decision.

Verification

  • buf generate proto over just the remote plugins resolves every pin. The generated Go imports connectrpc.com/connect (v1) 12 times and connect/v2 none.
  • PR CI on this PR is the full check.

🤖 Generated with Claude Code

buf.build/connectrpc/go was unpinned and now resolves to v2.0.0, which emits
connectrpc.com/connect/v2 imports that need Go 1.26. publish-go runs Go 1.25,
so every PR check failed at publish-go.

Pin connectrpc/go to v1.21.0, the last v1 release (go 1.25.0), and pin the
other unpinned remote plugins to the versions CI resolves today:
protocolbuffers/go v1.36.12, protocolbuffers/python and pyi v36.2,
bufbuild/protoschema-jsonschema v0.6.0, grpc-ecosystem/openapiv2 v2.31.0 and
community/pseudomuto-doc v1.5.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scarmuega
scarmuega marked this pull request as ready for review October 12, 2026 17:25
@scarmuega

scarmuega commented Oct 12, 2026 •

Copy link
Copy Markdown
Member Author

Merge observed.

Plan: plans/utxorpc-housekeeping-catch-up-spec-ci.md
QA-approved head: b068742dd7a0a39b2f0b188d346b81592c688ad1

Trellis will verify the human merge evidence, adopt the domain pin, and retire the plan. No further merge action is needed.

@scarmuega
scarmuega requested a review from wolf31o2 October 13, 2026 11:31
@scarmuega
scarmuega merged commit 8ff8bf3 into main Oct 14, 2026
7 checks passed
@scarmuega
scarmuega deleted the work/work-20e50ee6cd8925f29a3c368716b446d7df6ef27c branch October 14, 2026 11:38
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