Skip to content

ci: pin buf-action to 1.71.0 to match proto codegen#2529

Merged
andrewhsu merged 1 commit into
masterfrom
worktree-buf-validate-failure
Jun 23, 2026
Merged

ci: pin buf-action to 1.71.0 to match proto codegen#2529
andrewhsu merged 1 commit into
masterfrom
worktree-buf-validate-failure

Conversation

@andrewhsu

Copy link
Copy Markdown
Member

Summary

The post-merge Buf CIvalidate job is failing on master after #2512: the format check reports diffs on ~30 protos (lint, breaking, and build all pass).

Root cause

A semantic collision between two independently-green PRs:

So master now formats protos with 1.71.0 but the CI validate job checks them with 1.65.0, which re-expands the collapsed literals → Format diff on every affected proto. The buf.yml comments already say "keep in sync with BUF_VERSION in taskfiles/proto.yaml" — that's the invariant #2512 broke.

Fix

Bump all three buf-action version pins in .github/workflows/buf.yml from 1.65.01.71.0, matching BUF_VERSION in taskfiles/proto.yaml. No proto reformatting is needed — the committed protos are already 1.71.0-clean. This is the correct direction since #2518 deliberately moved the repo to the 1.71.0 formatter.

Verification

Run against the current master protos:

buf version buf format --diff --exit-code
1.65.0 (old CI pin) exit 100, 3504-line diff — reproduces the CI failure
1.71.0 (this PR) clean (exit 0)

🤖 Generated with Claude Code

PR #2512 pinned the buf CLI in .github/workflows/buf.yml to 1.65.0, but
#2518 had already bumped codegen (BUF_VERSION in taskfiles/proto.yaml) to
1.71.0 and reformatted every proto with the 1.71.0 formatter. CI then
validated 1.71.0-formatted protos with buf 1.65.0, which re-expands the
nested message literals that 1.71.0 collapses, so buf format --diff failed
on master across ~30 protos.

Bump all three buf-action version pins to 1.71.0 so the CI format check
matches the committed protos and the codegen source of truth.

Verified locally against current master protos:
- buf 1.65.0 format --diff --exit-code: exit 100 (reproduces the failure)
- buf 1.71.0 format --diff --exit-code: clean

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / validate (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJun 23, 2026, 3:35 PM

@andrewhsu andrewhsu enabled auto-merge June 23, 2026 15:38
@andrewhsu

Copy link
Copy Markdown
Member Author

@malinskibeniamin this is a follow-up to #2512 which broke the buf.yml workflow runs on merge to master. looks like #2518 merged first that updated buf formatter to 1.71.0

@andrewhsu andrewhsu merged commit 6b35cc5 into master Jun 23, 2026
10 checks passed
@andrewhsu andrewhsu deleted the worktree-buf-validate-failure branch June 23, 2026 17:50
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.

2 participants