Skip to content

Pin generator versions - #338

Merged
stephanos merged 11 commits into
mainfrom
pin-api-go-generators
Dec 2, 2026
Merged

stephanos merged 11 commits into
mainfrom
pin-api-go-generators

Conversation

@stephanos

@stephanos stephanos commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What changed?

Declare the Go code-generation tools in build/go.mod and install them from that module.

Why?

Schema refreshes should use a fixed set of Go generators.

How did you test it?

Installed all five declared tools and verified their versions.

Regenerated the API with the same schema and compiler and compared the Go code tokens against the prior output.

Resolve the composite action from the workflow commit so Update Proto can check out older branches.
Pin protoc 23.4 in CI and put its binary on PATH for the existing Make targets.
Load CI tools from .github/mise.toml and call setup-protoc directly in Update Proto.
Read Go from go.mod in CI and load the workflow commit’s protoc pin when updating a different branch.
Install the Go generators from the build module and fetch a fixed Nexus generator commit with a frozen dependency lockfile.
@stephanos
stephanos added this pull request to stack #339 November 24, 2026 03:12
@stephanos stephanos changed the title pin api go generators Pin API-Go generator versions Nov 24, 2026
@stephanos stephanos changed the title Pin API-Go generator versions Pin generator versions Nov 24, 2026
Use Go 1.27.4 and tool directives to track the Go generators. Restore the existing Nexus generator install target.
@stephanos
stephanos marked this pull request as ready for review November 24, 2026 03:17
@stephanos
stephanos requested review from a team as code owners November 24, 2026 03:17
@stephanos
stephanos requested a review from mavemuri November 24, 2026 03:17
Restore the workflow files to their main branch baseline so the generator changes can land independently.
@stephanos
stephanos removed this pull request from stack #339 November 24, 2026 03:18
@stephanos
stephanos changed the base branch from align-update-proto-compiler to main November 24, 2026 03:18
@stephanos
stephanos enabled auto-merge (squash) December 2, 2026 03:15
@stephanos
stephanos merged commit 56b88ad into main Dec 2, 2026
4 checks passed
@stephanos
stephanos deleted the pin-api-go-generators branch December 2, 2026 03:20
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.

3 participants