From 2ca0f9961afa692b89e09223ccc98a6662685196 Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Thu, 15 Oct 2026 13:04:18 +0800 Subject: [PATCH] build: gate releases on Object Lock regressions Signed-off-by: Feng Ruohang --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ead08d4fd..f490a9ec1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,6 +70,12 @@ jobs: buildscripts/verify-rebrand.sh dockerscripts/docker-entrypoint_test.sh + # Keep this gate aligned with the Object Lock race regression in go.yml. + - name: Gate release on Object Lock authorization and overwrite tests under race detector + env: + MINIO_API_REQUESTS_MAX: "10000" + run: go test -race -tags kqueue,dev ./cmd -run '^Test(APIPutObjectRetention|APIVersionAddressedWrite|PutObjectRetention|DirectoryObjectLock|ObjectLockOverwrite|APICopyObjectPreservesVersionAfterSuspension|MultipartNullObjectLock|PoolsObjectLockOverwrite|MultipartVersioningTransitions|PlanReview|RecoveredMultipartUpload)' -count=1 -timeout=5m + - name: Compute release variables env: # Passed through the environment, never interpolated into the script