From 1016978c78f26ef3b338419c6444e15c5104f912 Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Thu, 22 Oct 2026 16:01:12 +0300 Subject: [PATCH] ci(pr-build): give go test a 20m package timeout The Build Binaries job ran go test ./... with Go's default 10m per-package limit. internal/server now takes close to that on a loaded runner, so the job failed with "panic: test timed out after 10m0s" while every test was passing (PR #1718, run 39776808883). Match the 20m the unit-tests workflow already uses. --- .github/workflows/pr-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 207269df2..114bef2ca 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -219,9 +219,9 @@ jobs: run: | # On Windows, skip internal/server tests (E2E tests timeout after 11 minutes) if [ "${{ matrix.goos }}" = "windows" ]; then - go test -tags nogui -v -skip "E2E|Binary|MCPProtocol" $(go list ./... | grep -v 'internal/server$') + go test -tags nogui -v -timeout 20m -skip "E2E|Binary|MCPProtocol" $(go list ./... | grep -v 'internal/server$') else - go test -tags nogui -v -skip "E2E|Binary|MCPProtocol" ./... + go test -tags nogui -v -timeout 20m -skip "E2E|Binary|MCPProtocol" ./... fi env: TIKTOKEN_CACHE_DIR: ${{ runner.temp }}/tiktoken