From 3ca1c45c4fb914fff09e40ec83143426fbf4c686 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 26 Aug 2025 13:53:05 -0400 Subject: [PATCH 1/6] chore: Test with Protobuf-Java v4.32 [no need to review] --- .kokoro/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 63ae42ebf8..0f194a2a90 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -63,6 +63,7 @@ javadoc) integration) mvn -B ${INTEGRATION_TEST_ARGS} \ -ntp \ + -Dprotobuf.version=4.32.0 \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ From a17a27842c6eb83c41f23613db608f4345412e92 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 26 Aug 2025 17:56:16 +0000 Subject: [PATCH 2/6] chore: generate libraries at Tue Aug 26 17:53:54 UTC 2025 --- .kokoro/build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 0f194a2a90..63ae42ebf8 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -63,7 +63,6 @@ javadoc) integration) mvn -B ${INTEGRATION_TEST_ARGS} \ -ntp \ - -Dprotobuf.version=4.32.0 \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ From 8a33cd9677e8ac5228585c4effdc4e191737a612 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 26 Aug 2025 14:17:18 -0400 Subject: [PATCH 3/6] chore: Test with Protobuf-Java v4.32 [no need to review] --- .../hermetic_library_generation.yaml | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 5a97a43802..4f4a9d7d53 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -1,45 +1,45 @@ # Copyright 2024 Google LLC +## +## Licensed under the Apache License, Version 2.0 (the "License"); +## you may not use this file except in compliance with the License. +## You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## GitHub action job to test core java library features on +## downstream client libraries before they are released. +#name: Hermetic library generation upon generation config change through pull requests +#on: +# pull_request: # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# GitHub action job to test core java library features on -# downstream client libraries before they are released. -name: Hermetic library generation upon generation config change through pull requests -on: - pull_request: - -env: - REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }} - GITHUB_REPOSITORY: ${{ github.repository }} -jobs: - library_generation: - runs-on: ubuntu-latest - steps: - - name: Determine whether the pull request comes from a fork - run: | - if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then - echo "This PR comes from a fork. Skip library generation." - echo "SHOULD_RUN=false" >> $GITHUB_ENV - else - echo "SHOULD_RUN=true" >> $GITHUB_ENV - fi - - uses: actions/checkout@v4 - if: env.SHOULD_RUN == 'true' - with: - fetch-depth: 0 - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.61.0 - if: env.SHOULD_RUN == 'true' - with: - base_ref: ${{ github.base_ref }} - head_ref: ${{ github.head_ref }} - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} +#env: +# REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }} +# GITHUB_REPOSITORY: ${{ github.repository }} +#jobs: +# library_generation: +# runs-on: ubuntu-latest +# steps: +# - name: Determine whether the pull request comes from a fork +# run: | +# if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then +# echo "This PR comes from a fork. Skip library generation." +# echo "SHOULD_RUN=false" >> $GITHUB_ENV +# else +# echo "SHOULD_RUN=true" >> $GITHUB_ENV +# fi +# - uses: actions/checkout@v4 +# if: env.SHOULD_RUN == 'true' +# with: +# fetch-depth: 0 +# token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} +# - uses: googleapis/sdk-platform-java/.github/scripts@v2.61.0 +# if: env.SHOULD_RUN == 'true' +# with: +# base_ref: ${{ github.base_ref }} +# head_ref: ${{ github.head_ref }} +# token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} From 780cde4e209cafbb7ce77de960adc6c652d7da88 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 26 Aug 2025 14:18:10 -0400 Subject: [PATCH 4/6] Revert "chore: generate libraries at Tue Aug 26 17:53:54 UTC 2025" This reverts commit b3f135bdd9a94abddf4082b7ac0e6c1c8b908f98. --- .kokoro/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 63ae42ebf8..0f194a2a90 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -63,6 +63,7 @@ javadoc) integration) mvn -B ${INTEGRATION_TEST_ARGS} \ -ntp \ + -Dprotobuf.version=4.32.0 \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ From bdfdf54b41bc89c7a3e99a9f6dafc564ac6409c0 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Wed, 24 Sep 2025 11:21:59 -0400 Subject: [PATCH 5/6] chore: Update to Protobuf 4.32.1 --- .kokoro/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 0f194a2a90..a064d0b360 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -63,7 +63,7 @@ javadoc) integration) mvn -B ${INTEGRATION_TEST_ARGS} \ -ntp \ - -Dprotobuf.version=4.32.0 \ + -Dprotobuf.version=4.32.1 \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ From 26459b8fa4efa5beb31b5c8159f27675564a151f Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 21 Oct 2025 16:35:13 -0400 Subject: [PATCH 6/6] Update protobuf.version to 4.33.0 --- .kokoro/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index a064d0b360..6e6a41d3f8 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -63,7 +63,7 @@ javadoc) integration) mvn -B ${INTEGRATION_TEST_ARGS} \ -ntp \ - -Dprotobuf.version=4.32.1 \ + -Dprotobuf.version=4.33.0 \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \