Skip to content

(CHORE)[EX-3143] Upgrade protoc base image to Alpine 3.21 with buf 1.66.0 - #185

Closed
Michael Gunawan (scmichaelg) wants to merge 2 commits into
mainfrom
EX-3143/upgrade-protoc-base-1.15.0
Closed

(CHORE)[EX-3143] Upgrade protoc base image to Alpine 3.21 with buf 1.66.0#185
Michael Gunawan (scmichaelg) wants to merge 2 commits into
mainfrom
EX-3143/upgrade-protoc-base-1.15.0

Conversation

@scmichaelg

@scmichaelg Michael Gunawan (scmichaelg) commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrades the base protoc Docker image to Alpine 3.21 with buf 1.66.0 and protobuf v24.4. This is split out from #184 to unblock the protoc-cpp:1.13.0 build, which depends on protoc:1.15.0 as its base image.

Problem description

PR #184 bumps both protoc (1.14.2 → 1.15.0) and protoc-cpp (1.12.4 → 1.13.0) in a single PR. Since protoc-cpp uses FROM ghcr.io/safetyculture/protoc:1.15.0, and CI only publishes release tags on merge to main, the protoc-cpp build fails — protoc:1.15.0 doesn't exist yet. This creates a deadlock where the PR can never pass CI.

Splitting the base image upgrade into this PR breaks the deadlock:

  1. Merge this PR → publishes protoc:1.15.0
  2. Merge (CHORE)[EX-3143] Upgrade protoc-cpp with protoc 1.15 #186 (rebased) → publishes protoc-cpp:1.13.0
  3. APISchema upgrade/protoc-cpp-v1.13.0 branch can then pass CI

Changes:

  • Alpine 3.15 → 3.21
  • buf 1.8.0 → 1.66.0
  • protoc/grpc sourced from Alpine 3.21 community repo (protobuf v24.4, grpc 1.62.1)
  • protoc-go uses 1.24.0-alpine

Checklist


Code Review Guidelines for Reviewers

  • Try to review in a timely manner. Opinions/nitpicks should not be
    blockers. Pair on a call for non-trivial feedback.
  • Overall design and approach should follow established patterns. Don't try
    to make the PR perfect.
  • Try to identify edge cases, race conditions, over-engineering, lack of
    test coverage and complexity.
  • If you don't feel qualified to review the code, pass it on to someone
    who is.

- Alpine 3.15 → 3.21
- buf 1.8.0 → 1.66.0
- protoc/grpc from Alpine 3.21 community repo (protobuf v24.4, grpc 1.62.1)

Split from upgrade/alpine-3.21-protobuf-v24 to unblock protoc-cpp build.
protoc-gen-workato@latest now requires go >= 1.24.0.
Bump protoc-go version to 3.26.0.
@scmichaelg
Michael Gunawan (scmichaelg) marked this pull request as ready for review March 28, 2026 08:08
@scmichaelg
Michael Gunawan (scmichaelg) requested a review from a team as a code owner March 28, 2026 08:08
@scmichaelg
Michael Gunawan (scmichaelg) force-pushed the EX-3143/upgrade-protoc-base-1.15.0 branch from aa363e4 to a31eab4 Compare March 28, 2026 08:08
@scmichaelg Michael Gunawan (scmichaelg) changed the title EX-3143: Upgrade protoc base image to Alpine 3.21 with buf 1.66.0 (CHORE)[EX-3143] Upgrade protoc base image to Alpine 3.21 with buf 1.66.0 Mar 28, 2026
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