From 7a3ca0f82100cce06289a465f54139da2639f642 Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Thu, 15 Oct 2026 13:20:15 +0800 Subject: [PATCH] build: gate releases on Object Lock regressions (#237) Run the existing Object Lock authorization and overwrite race regressions before release state changes, builds, packages, and uploads. 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