From d4631a8892628d93999f1cbad0c01817dfbf1e21 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 15:43:01 +0000 Subject: [PATCH 1/2] ci: Remove unused setup-protoc steps arduino/setup-protoc resolves its version by paging through the protocolbuffers/protobuf releases API and stops at the first empty page. The GitHub API is currently returning sporadic empty pages, so the action fails with "unable to get latest version" and breaks CI on main. Nothing in the workspace needs protoc: bigtable_rs ships pre-generated protos and only invokes protoc when BUILD_BIGTABLE_RS_GOOGLE_PROTO=true. The workspace checks with all features and targets without protoc on PATH. Co-Authored-By: Jan Michael Auer --- .github/workflows/build.yml | 5 ----- .github/workflows/ci.yml | 20 -------------------- 2 files changed, 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50c278cf..a95e9107 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,11 +43,6 @@ jobs: run: | rustup toolchain install stable --profile minimal --target ${{ matrix.target }} --no-self-update - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - # Ensure a clean build on release, use caches when building main. - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8429826a..47f27562 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,11 +36,6 @@ jobs: rustup toolchain install stable --profile minimal --no-self-update rustup component add clippy rustfmt rust-docs --toolchain stable - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 with: key: ${{ github.job }} @@ -126,11 +121,6 @@ jobs: rustup toolchain install stable --profile minimal --no-self-update rustup component add llvm-tools-preview - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 with: key: ${{ github.job }} @@ -169,11 +159,6 @@ jobs: run: | rustup toolchain install stable --profile minimal --no-self-update - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 - name: Build server binary @@ -216,11 +201,6 @@ jobs: - name: Install Rust Toolchain run: rustup toolchain install stable --profile minimal --component rust-docs --no-self-update - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 with: key: ${{ github.job }} From d643778b1306c8f231114f15ec883baff7b01d41 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 15:49:38 +0000 Subject: [PATCH 2/2] build: Drop protoc from README and Dockerfile.cross protoc is not needed to build the workspace. Co-Authored-By: Jan Michael Auer --- Dockerfile.cross | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.cross b/Dockerfile.cross index 7ffe2e99..589524bd 100644 --- a/Dockerfile.cross +++ b/Dockerfile.cross @@ -4,7 +4,7 @@ FROM rust:slim-bookworm RUN dpkg --add-architecture amd64 \ && apt-get update -qq \ && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends make protobuf-compiler libprotobuf-dev pkg-config git libssl-dev:amd64 libcurl4-openssl-dev:amd64 gcc-x86-64-linux-gnu g++-x86-64-linux-gnu \ + && apt-get install -y --no-install-recommends make pkg-config git libssl-dev:amd64 libcurl4-openssl-dev:amd64 gcc-x86-64-linux-gnu g++-x86-64-linux-gnu \ && rm -rf /var/lib/apt/lists/* RUN rustup target add x86_64-unknown-linux-gnu diff --git a/README.md b/README.md index a19a25a4..fc242bce 100644 --- a/README.md +++ b/README.md @@ -113,8 +113,8 @@ for detailed setup and usage instructions. ## Building -Ensure `protoc` and the latest stable Rust toolchain are installed on your -machine. A release build can be created with: +Ensure the latest stable Rust toolchain is installed on your machine. A release +build can be created with: ```sh cargo build --release --locked