From 3043d4d6c4aadc1dabd19f6a01cf86a5e77b456c Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Tue, 14 Apr 2026 14:07:24 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20CI=20e2e=E8=B6=85=E6=97=B6=E5=8A=A0?= =?UTF-8?q?=E5=88=B010=E5=88=86=E9=92=9F=EF=BC=8Cjob=20timeout=2012?= =?UTF-8?q?=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 31个spec全部通过但420秒跑不完32个,加到600秒。 Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 988264e..8910361 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -12,7 +12,7 @@ jobs: e2e-test: runs-on: test needs: unit-test - timeout-minutes: 8 + timeout-minutes: 12 steps: - uses: actions/checkout@v4 @@ -64,7 +64,7 @@ jobs: # Run all specs except demo-walkthrough (too slow for CI) cd frontend - timeout 420 npx cypress run \ + timeout 600 npx cypress run \ --spec "cypress/e2e/!(demo-walkthrough).cy.js" \ --config "video=false,defaultCommandTimeout=5000,pageLoadTimeout=10000,requestTimeout=5000,responseTimeout=10000,baseUrl=http://localhost:$FE_PORT,experimentalMemoryManagement=true,numTestsKeptInMemory=0" \ --env "ADMIN_TOKEN=$ADMIN_TOKEN" @@ -75,7 +75,7 @@ jobs: pkill -f "Cypress" 2>/dev/null || true rm -f "$DB_FILE" if [ $EXIT_CODE -eq 124 ]; then - echo "ERROR: Cypress timed out after 7 minutes" + echo "ERROR: Cypress timed out after 10 minutes" exit 1 fi exit $EXIT_CODE