From 686c08d9aa45389d9256dab839d5250399210b44 Mon Sep 17 00:00:00 2001 From: Molecule AI Infra-SRE Date: Fri, 15 May 2026 02:46:23 +0000 Subject: [PATCH] fix(ci): increase golangci-lint and job timeouts for Platform (Go) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 3m golangci-lint timeout was too short, causing lint to fail and the diagnostic step (continue-on-error) to run the full suite, exceeding the 15m job ceiling. Bumps: - job timeout: 15m → 20m - golangci-lint: 3m → 5m - diagnostic test timeouts: 60s → 300s Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 84767f34..66aded07 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -148,7 +148,7 @@ jobs: # Job-level ceiling. The go test step below runs with a per-step 10m timeout; # this cap catches any step that leaks past that. Set well above 10m so # the per-step timeout is the active constraint. - timeout-minutes: 15 + timeout-minutes: 20 defaults: run: working-directory: workspace-server @@ -174,14 +174,14 @@ jobs: run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 - if: always() name: Run golangci-lint - run: $(go env GOPATH)/bin/golangci-lint run --timeout 3m ./... + run: $(go env GOPATH)/bin/golangci-lint run --timeout 5m ./... - if: always() - name: Diagnostic — per-package verbose 60s + name: Diagnostic — per-package verbose 300s run: | set +e - go test -race -v -timeout 60s ./internal/handlers/... 2>&1 | tee /tmp/test-handlers.log + go test -race -v -timeout 300s ./internal/handlers/... 2>&1 | tee /tmp/test-handlers.log handlers_exit=$? - go test -race -v -timeout 60s ./internal/pendinguploads/... 2>&1 | tee /tmp/test-pu.log + go test -race -v -timeout 300s ./internal/pendinguploads/... 2>&1 | tee /tmp/test-pu.log pu_exit=$? echo "::group::handlers exit=$handlers_exit (last 100 lines)" tail -100 /tmp/test-handlers.log -- 2.45.2