From eb867c3d231279e32ff390f8ea9ca0c01b10c492 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 14 Mar 2025 14:26:58 +0000 Subject: [PATCH] build: upload grpc remote logs for debugging (#60393) This should be helpful in figuring out why RBE is currently unstable. PR Close #60393 --- .bazelrc | 2 ++ .github/workflows/pr.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.bazelrc b/.bazelrc index 2a04937e72c..2d58851bb6e 100644 --- a/.bazelrc +++ b/.bazelrc @@ -114,6 +114,8 @@ build:remote --bes_instance_name=internal-200822 build:remote --remote_cache=remotebuildexecution.googleapis.com build:remote --remote_executor=remotebuildexecution.googleapis.com +build:remote --experimental_remote_grpc_log=/tmp/rbe-grpc.log + # See: https://docs.google.com/document/d/1NgDPsCIwprDdqC1zj0qQrh5KGK2hQTSTux1DAvi4rSc/edit?tab=t.0. build:remote --experimental_remote_execution_keepalive diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 37be328743e..c834756905a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -76,6 +76,12 @@ jobs: run: yarn install --frozen-lockfile --network-timeout 100000 - name: Run CI tests for framework run: yarn test:ci + - name: Upload GRPC logs (for debugging of RBE issues) + if: always() + uses: actions/upload-artifact@v4 + with: + path: /tmp/rbe-grpc.log + retention-days: 1 artifacts: needs: [test]