Skip to content

Pin the connect-go plugin to its last v1 release - #274

Merged
vitramir merged 1 commit into
mainfrom
pin-connect-go-plugin
Nov 3, 2026
Merged

vitramir merged 1 commit into
mainfrom
pin-connect-go-plugin

Conversation

@vitramir

@vitramir vitramir commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

The go-core suite no longer compiles. Its buf.gen.yaml names buf.build/connectrpc/go without a version, and that now resolves to the v2 plugin, which generates code against connectrpc.com/connect/v2. The suite's go.mod requires connect v1.13.0, so every service's E2E fails go-core with [setup failed]:

.gen/go/agynio/api/gateway/v1/gatewayv1connect/agents.connect.go:8:2: no required module provides package connectrpc.com/connect/v2

This pins v1.21.0, the last v1 release, as agynio/gateway#212 and agynio/agyn-cli#75 did. Its generated code asserts connect.IsAtLeastVersion1_13_0, which the suite's connect v1.13.0 satisfies.

Testing

  • buf generate in suites/go-core produces no file that imports connectrpc.com/connect/v2.
  • go vet ./tests/... passes under e2e smoke, under each svc_* tag on its own, and under the combined svc_files svc_media_proxy and svc_metering svc_organizations svc_images.
  • go.mod and go.sum are unchanged.

@vitramir
vitramir merged commit 177182d into main Nov 3, 2026
8 of 11 checks passed
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