SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
ci(vectors): split e2e into per-volume legs, build only needed binaries
Chris Lua2496ad7ae4d
diff --git a/.github/workflows/rust-vector-tests.yml b/.github/workflows/rust-vector-tests.ymlindex 8665696222..1776ae513a 100644--- a/.github/workflows/rust-vector-tests.yml+++ b/.github/workflows/rust-vector-tests.yml@@ -89,14 +89,18 @@ jobs:vectors-e2e:- name: S3 Vectors Go/Rust Volume Parity+ name: S3 Vectors Integration (${{ matrix.volume }} volume)runs-on: ubuntu-24.04timeout-minutes: 45+ strategy:+ fail-fast: false+ matrix:+ volume: [go, rust]env:CARGO_PROFILE_DEV_DEBUG: "0"CARGO_BUILD_JOBS: "2"CARGO_TARGET_DIR: ${{ github.workspace }}/seaweed-vector/target- VOLUME_SERVER_IMPL: go,rust+ VOLUME_SERVER_IMPL: ${{ matrix.volume }}VECTOR_QUERY_MODE: singlesteps:- uses: actions/checkout@v7@@ -136,7 +140,12 @@ jobs:go test ./weed/command -run 'Vector|Vectors' -count=1- name: Build integration binariesworking-directory: test/s3vectors- run: make build CARGO_PROFILE=dev+ # dev profile: correctness suite, no release codegen needed. weed-volume+ # (the heaviest crate) only builds on the rust leg.+ run: |+ set -e+ make ./weed ./weed-vector CARGO_PROFILE=dev+ if [ "${{ matrix.volume }}" = "rust" ]; then make ./weed-volume CARGO_PROFILE=dev; fi- uses: actions/setup-python@v5with:python-version: "3.12"@@ -151,16 +160,16 @@ jobs:from pathlib import Pathimport xml.etree.ElementTree as ETcases = ET.parse(Path(os.environ["RUNNER_TEMP"]) / "vector-results.xml").findall(".//testcase")- assert len(cases) >= 34, f"expected at least 34 cases, got {len(cases)}"+ assert len(cases) >= 17, f"expected at least 17 cases, got {len(cases)}"assert not any(case.find("skipped") is not None for case in cases), "integration cases were skipped"- for volume in ("go", "rust"):- assert sum(case.get("name", "").endswith(f"[{volume}-single]") for case in cases) >= 17, volume+ volume = os.environ["VOLUME_SERVER_IMPL"]+ assert all(case.get("name", "").endswith(f"[{volume}-single]") for case in cases), volumePYTHON- name: Upload integration diagnosticsif: always()uses: actions/upload-artifact@v7with:- name: vectors-e2e-diagnostics+ name: vectors-e2e-diagnostics-${{ matrix.volume }}path: |${{ runner.temp }}/vector-tests${{ runner.temp }}/vector-results.xml