From d8f5a43205f8efcbbb317b1126662618345337f2 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Wed, 19 Aug 2026 03:29:13 -0400 Subject: [PATCH 1/3] [ci] Upload Bazel build profile --- .github/workflows/bazel.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index dbc84f1ebea..3e9113e6374 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -100,12 +100,29 @@ jobs: TARGETS=... fi if [ "${{ runner.os }}" = "Windows" ]; then - bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' + bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.log" else - bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' + bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.log" fi shell: bash + - uses: actions/upload-artifact@v7 + with: + archive: false + include-hidden-files: true + path: "/github/home/.bazel/command-*.profile.gz" + if: runner.os == 'Linux' + + - uses: actions/upload-artifact@v7 + with: + archive: false + path: "D:/bazelroot/**/command-*.profile.gz" + if: runner.os == 'Windows' + + - uses: actions/upload-artifact@v7 + with: + archive: false + path: "${{ matrix.name }} Exec Log.log" - name: Check disk free space if: always() run: df -h From 59e17d80ced82f362370da04a8521ae304f13105 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Sat, 29 Aug 2026 21:37:27 -0400 Subject: [PATCH 2/3] Update .github/workflows/bazel.yml Co-authored-by: David Vo --- .github/workflows/bazel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 3e9113e6374..426cf02ba6e 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -102,7 +102,7 @@ jobs: if [ "${{ runner.os }}" = "Windows" ]; then bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.log" else - bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.log" + bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst" fi shell: bash From 54b0fa76cf90e76bb9ec339646d22156dcc74a60 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Sat, 29 Aug 2026 21:49:19 -0400 Subject: [PATCH 3/3] Fix file extension --- .github/workflows/bazel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 426cf02ba6e..7d899bef348 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -100,7 +100,7 @@ jobs: TARGETS=... fi if [ "${{ runner.os }}" = "Windows" ]; then - bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.log" + bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst" else bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst" fi @@ -122,7 +122,7 @@ jobs: - uses: actions/upload-artifact@v7 with: archive: false - path: "${{ matrix.name }} Exec Log.log" + path: "${{ matrix.name }} Exec Log.binpb.zst" - name: Check disk free space if: always() run: df -h