From 548b3d9a3863cef4812454880b23ab2a8ca26992 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 15 Feb 2026 14:28:35 -0800 Subject: [PATCH] ci(volume_server): run rust smoke tests in exec and proxy modes --- .../workflows/volume-server-integration-tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/volume-server-integration-tests.yml b/.github/workflows/volume-server-integration-tests.yml index 1311140a1..8f9a36b56 100644 --- a/.github/workflows/volume-server-integration-tests.yml +++ b/.github/workflows/volume-server-integration-tests.yml @@ -124,9 +124,13 @@ jobs: echo "- Command: go test -v -count=1 -timeout=${{ env.TEST_TIMEOUT }} ./test/volume_server/${{ matrix.test-type }}/... -run \"${TEST_PATTERN}\"" >> "$GITHUB_STEP_SUMMARY" volume-server-rust-smoke: - name: Volume Server Rust Smoke + name: Volume Server Rust Smoke (${{ matrix.mode }}) runs-on: ubuntu-22.04 timeout-minutes: 40 + strategy: + fail-fast: false + matrix: + mode: [exec, proxy] steps: - name: Checkout code @@ -151,6 +155,7 @@ jobs: env: WEED_BINARY: ${{ github.workspace }}/weed/weed VOLUME_SERVER_IMPL: rust + VOLUME_SERVER_RUST_MODE: ${{ matrix.mode }} run: | go test -v -count=1 -timeout=25m ./test/volume_server/http/... -run "TestAdminStatusAndHealthz|TestUploadReadRangeHeadDeleteRoundTrip" @@ -158,13 +163,14 @@ jobs: env: WEED_BINARY: ${{ github.workspace }}/weed/weed VOLUME_SERVER_IMPL: rust + VOLUME_SERVER_RUST_MODE: ${{ matrix.mode }} run: | go test -v -count=1 -timeout=25m ./test/volume_server/grpc/... -run "TestStateAndStatusRPCs|TestVolumeSyncStatusAndReadVolumeFileStatus" - name: Rust smoke summary if: always() run: | - echo "## Volume Server Rust Smoke Summary" >> "$GITHUB_STEP_SUMMARY" - echo "- Mode: Go master + Rust volume server launcher (VOLUME_SERVER_IMPL=rust)" >> "$GITHUB_STEP_SUMMARY" + echo "## Volume Server Rust Smoke Summary (${{ matrix.mode }})" >> "$GITHUB_STEP_SUMMARY" + echo "- Mode: Go master + Rust volume server launcher (VOLUME_SERVER_IMPL=rust, VOLUME_SERVER_RUST_MODE=${{ matrix.mode }})" >> "$GITHUB_STEP_SUMMARY" echo "- HTTP Command: go test -v -count=1 -timeout=25m ./test/volume_server/http/... -run \"TestAdminStatusAndHealthz|TestUploadReadRangeHeadDeleteRoundTrip\"" >> "$GITHUB_STEP_SUMMARY" echo "- gRPC Command: go test -v -count=1 -timeout=25m ./test/volume_server/grpc/... -run \"TestStateAndStatusRPCs|TestVolumeSyncStatusAndReadVolumeFileStatus\"" >> "$GITHUB_STEP_SUMMARY"