From a941b3fea304b43e60cc44666f20bc463086ba61 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 06:32:58 +0000 Subject: [PATCH 1/3] chore: bump io.github.ascopes:protobuf-maven-plugin from 4.1.2 to 5.1.4 Bumps [io.github.ascopes:protobuf-maven-plugin](https://github.com/ascopes/protobuf-maven-plugin) from 4.1.2 to 5.1.4. - [Release notes](https://github.com/ascopes/protobuf-maven-plugin/releases) - [Commits](https://github.com/ascopes/protobuf-maven-plugin/compare/v4.1.2...v5.1.4) --- updated-dependencies: - dependency-name: io.github.ascopes:protobuf-maven-plugin dependency-version: 5.1.4 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- spec-grpc/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec-grpc/pom.xml b/spec-grpc/pom.xml index 7c33db060..71644135b 100644 --- a/spec-grpc/pom.xml +++ b/spec-grpc/pom.xml @@ -96,7 +96,7 @@ io.github.ascopes protobuf-maven-plugin - 4.1.2 + 5.1.4 ${skip.protobuf.generate} true From e1adb57ca33c9cd627104a5e51c1219033003549 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 07:34:13 +0000 Subject: [PATCH 2/3] chore: add GitHub Action to verify protobuf gRPC generation --- .github/workflows/verify-grpc-generation.yml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/verify-grpc-generation.yml diff --git a/.github/workflows/verify-grpc-generation.yml b/.github/workflows/verify-grpc-generation.yml new file mode 100644 index 000000000..3bf624377 --- /dev/null +++ b/.github/workflows/verify-grpc-generation.yml @@ -0,0 +1,29 @@ +name: Verify gRPC Generation + +on: + push: + pull_request: + workflow_dispatch: + +# Only run the latest job +concurrency: + group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + verify-grpc-generation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Set up JDK 21 + uses: actions/setup-java@v5 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Verify gRPC code generation + # -pl: build only spec-grpc and compat-0.3/spec-grpc modules + # -am: also build their dependencies + # -Dskip.protobuf.generate=false: enable protoc generation in spec-grpc (skipped by default) + # -Pproto-compile: activate the proto-compile profile in compat-0.3/spec-grpc + run: mvn install -B -DskipTests -pl spec-grpc,compat-0.3/spec-grpc -am -Dskip.protobuf.generate=false -Pproto-compile From b642b5bea3d48787452a30db55be4289e48bdf51 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 07:45:13 +0000 Subject: [PATCH 3/3] fix: update protobuf-maven-plugin configuration for v5.x API changes --- spec-grpc/pom.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/spec-grpc/pom.xml b/spec-grpc/pom.xml index 71644135b..be2938b10 100644 --- a/spec-grpc/pom.xml +++ b/spec-grpc/pom.xml @@ -100,15 +100,17 @@ ${skip.protobuf.generate} true - ${protobuf-java.version} + + ${protobuf-java.version} + ${project.basedir}/src/main/java/ - - + + io.grpc protoc-gen-grpc-java ${grpc.version} - - + +