From 8236df1368f985d0d21f3520e3ebbabbfed34957 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 15 Dec 2025 23:11:24 -0800 Subject: [PATCH] ci: enable pagination stress tests in GitHub CI Add pagination stress tests (>1000 versions) to the S3 versioning stress test job in GitHub CI. These tests run on master branch pushes to validate that ListObjectVersions correctly handles objects with more than 1000 versions using pagination. --- .github/workflows/s3-go-tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/s3-go-tests.yml b/.github/workflows/s3-go-tests.yml index 3b42aa02c..0af66a162 100644 --- a/.github/workflows/s3-go-tests.yml +++ b/.github/workflows/s3-go-tests.yml @@ -401,6 +401,18 @@ jobs: make clean exit 1 } + + # Run pagination stress tests (>1000 versions) + echo "=== Running pagination stress tests ===" + make test-versioning-pagination-stress || { + echo "❌ Pagination stress test failed, checking logs..." + if [ -f weed-test.log ]; then + echo "=== Server logs ===" + tail -200 weed-test.log + fi + make clean + exit 1 + } make clean - name: Upload stress test logs