From 4facbac29035dbc443efd2135e09d1c080a74dd7 Mon Sep 17 00:00:00 2001 From: Teodor Calin Date: Mon, 13 Jul 2026 18:31:01 +0300 Subject: [PATCH] nightly: serialize integration jobs (-parallel 1) to end runner starvation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The integration suites spin up multiple daemons + registry + WSS per test; running 4 concurrently on a 4-vCPU public runner starved them into timeouts — the dominant cause of the chronic nightly redness (verified: representative failing tests pass locally when run -parallel 1). Serialize both jobs so each integration test gets the whole runner; bump go-test and job timeouts to fit the longer wall-clock. Co-Authored-By: Claude Fable 5 --- .github/workflows/nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e2a3041d..97710dd7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -24,7 +24,7 @@ jobs: integration: name: Integration suite (default tags) runs-on: ubuntu-latest - timeout-minutes: 45 + timeout-minutes: 55 steps: - uses: actions/checkout@v7 @@ -37,7 +37,7 @@ jobs: # The full ./tests/ default-tag suite (~300 tests). Moved out of # PR CI in PR #121 — sustained 15m timeouts on public runners. run: | - go test -parallel 4 -count=1 -timeout 30m \ + go test -parallel 1 -count=1 -timeout 45m \ -skip 'TestMultipleLargeWrites|TestConcurrentDialEncryptDecrypt|TestHTTPPrivateWithTrust|TestInviteInboxCapEnforced|TestConnectionLimits|TestRC6PeerRestartRecoveryEndToEnd|TestEndToEndRelay|TestNameserverOverwriteA|TestNameserverPersistence|TestNameserverRegisterN|TestNameserver$' \ ./tests/ @@ -64,7 +64,7 @@ jobs: # and run sufficiently via the architecture-gates stress # harness instead. run: | - go test -tags nightly -parallel 4 -count=1 -timeout 30m \ + go test -tags nightly -parallel 1 -count=1 -timeout 50m \ -skip 'TestMultipleLargeWrites|TestConcurrentDialEncryptDecrypt|TestHTTPPrivateWithTrust|TestInviteInboxCapEnforced|TestConnectionLimits|TestRC6PeerRestartRecoveryEndToEnd|TestEndToEndRelay|TestNameserverOverwriteA|TestNameserverPersistence|TestNameserverRegisterN|TestNameserver$' \ ./tests/