Skip to content

chore: adopt buf 1.71 — reformat powermon.proto + pin buf in CI (Renovate-managed)#953

Merged
thebentern merged 2 commits into
masterfrom
jamesarich/buf-format-powermon
Jun 17, 2026
Merged

chore: adopt buf 1.71 — reformat powermon.proto + pin buf in CI (Renovate-managed)#953
thebentern merged 2 commits into
masterfrom
jamesarich/buf-format-powermon

Conversation

@jamesarich

@jamesarich jamesarich commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Two related buf-CI changes:

1. Reformat powermon.proto (buf 1.71)

buf-action runs the latest buf (now 1.71.0), which normalizes block-comment indentation differently than the version master was last formatted with — so the build (buf format) check fails repo-wide on meshtastic/powermon.proto, independent of any content change (master's last green run predated 1.71.0). This applies 1.71's formatting. Comment-only; no schema change.

2. Pin buf + let Renovate manage it

Root-cause fix so this doesn't recur: the three bufbuild/buf-action usages (pull_request, schema-registry, create_tag) now pin version: 1.71.0 instead of floating to "latest", so the format/lint/breaking checks are deterministic. A renovate.json customManager tracks bufbuild/buf GitHub releases via the inline # renovate: datasource=github-releases depName=bufbuild/buf annotations — so buf bumps arrive as reviewable Renovate PRs, and any formatting change lands only when that PR is merged (with the diff visible).

Why the customManager is needed: Renovate's stock github-actions manager only bumps the @v1.2.0 action tag, not the with: version: input. Validated with renovate-config-validator ✅.

Surfaced while working on #952; kept separate to keep that PR focused. publish.yml's buf-setup-action is intentionally left out here (since #952 already edits that file) — can be pinned in a follow-up.

🤖 Generated with Claude Code

buf-action runs the latest buf (now 1.71.0), which normalizes block-comment indentation differently than the version master was last formatted with. This applies that formatting so the PR format check passes; no schema change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow pull-request / build (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJun 17, 2026, 10:22 PM

Pins the buf CLI in the three bufbuild/buf-action usages so the format/lint/breaking checks are deterministic instead of floating to latest. A renovate.json customManager tracks bufbuild/buf releases via inline # renovate: annotations, so bumps arrive as reviewable PRs (Renovate's github-actions manager only bumps the action tag, not the with: version input).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jamesarich jamesarich changed the title chore: format powermon.proto with buf 1.71 chore: adopt buf 1.71 — reformat powermon.proto + pin buf in CI (Renovate-managed) Jun 17, 2026
@thebentern
thebentern merged commit da60cee into master Jun 17, 2026
3 checks passed
@caveman99
caveman99 deleted the jamesarich/buf-format-powermon branch July 1, 2026 07:11
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