From a1168cee5be07a3bd5a04bf4a9dce1aad8e65020 Mon Sep 17 00:00:00 2001 From: cpegeric Date: Thu, 16 Jan 2025 09:12:09 +0000 Subject: [PATCH 1/3] make GOBUILD_OPT=-cover --- .github/workflows/utils.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/utils.yaml b/.github/workflows/utils.yaml index b65ee83b..f160b3fa 100644 --- a/.github/workflows/utils.yaml +++ b/.github/workflows/utils.yaml @@ -301,9 +301,8 @@ jobs: cd $GITHUB_WORKSPACE/matrixone sed -i.bak 's/level = "info"/level = "error"/g' ./etc/launch/log.toml if [ -d "./store" ]; then rm -rf ./store; fi - GOLDFLAGS=-ldflags="-X 'main.GoVersion=$(go version)' -X 'main.BranchName=$(git rev-parse --abbrev-ref HEAD)' -X 'main.CommitID=$(git rev-parse HEAD)' -X 'main.BuildTime=$(date)' -X 'main.Version=$(git describe --always --tags $(git rev-list --tags --max-count=1))'" export GOCOVERDIR=$GITHUB_WORKSPACE/matrixone - go build -cover "$GOLDFLAGS" -o mo-service ./cmd/mo-service/ + make GOBUILD_OPT=-cover build ./optools/run_bvt.sh $GITHUB_WORKSPACE/matrixone launch - name: Update BVT SQL Timeout run: | From e18ad991f40a40b8c37d647c46e4468f565cb7cc Mon Sep 17 00:00:00 2001 From: cpegeric Date: Fri, 23 Jan 2026 13:08:01 +0000 Subject: [PATCH 2/3] fix for bloomfilter --- .github/workflows/utils.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/utils.yaml b/.github/workflows/utils.yaml index f160b3fa..aec2fc15 100644 --- a/.github/workflows/utils.yaml +++ b/.github/workflows/utils.yaml @@ -216,7 +216,7 @@ jobs: if [ -d $THIRDPARTIES_DIR ] ; then make thirdparties CGO_CFLAGS="${CGO_CFLAGS} -I${THIRDPARTIES_INSTALL_DIR}/include" - CGO_LDFLAGS="${CGO_LDFLAGS} -L${THIRDPARTIES_INSTALL_DIR}/lib -Wl,-rpath,${THIRDPARTIES_INSTALL_DIR}/lib" + CGO_LDFLAGS="${CGO_LDFLAGS} -L${THIRDPARTIES_INSTALL_DIR}/lib -lusearch_c -Wl,-rpath,${THIRDPARTIES_INSTALL_DIR}/lib" fi echo "ut start" From 87758bb899ef41cb661b8f8c30a98f3160b94560 Mon Sep 17 00:00:00 2001 From: cpegeric Date: Fri, 23 Jan 2026 13:12:23 +0000 Subject: [PATCH 3/3] Revert "make GOBUILD_OPT=-cover" This reverts commit a1168cee5be07a3bd5a04bf4a9dce1aad8e65020. --- .github/workflows/utils.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/utils.yaml b/.github/workflows/utils.yaml index aec2fc15..dc22ad1d 100644 --- a/.github/workflows/utils.yaml +++ b/.github/workflows/utils.yaml @@ -301,8 +301,9 @@ jobs: cd $GITHUB_WORKSPACE/matrixone sed -i.bak 's/level = "info"/level = "error"/g' ./etc/launch/log.toml if [ -d "./store" ]; then rm -rf ./store; fi + GOLDFLAGS=-ldflags="-X 'main.GoVersion=$(go version)' -X 'main.BranchName=$(git rev-parse --abbrev-ref HEAD)' -X 'main.CommitID=$(git rev-parse HEAD)' -X 'main.BuildTime=$(date)' -X 'main.Version=$(git describe --always --tags $(git rev-list --tags --max-count=1))'" export GOCOVERDIR=$GITHUB_WORKSPACE/matrixone - make GOBUILD_OPT=-cover build + go build -cover "$GOLDFLAGS" -o mo-service ./cmd/mo-service/ ./optools/run_bvt.sh $GITHUB_WORKSPACE/matrixone launch - name: Update BVT SQL Timeout run: |