From 54182208ebf1a5a64164e94b555cef93de365959 Mon Sep 17 00:00:00 2001 From: mintaka Date: Mon, 12 Oct 2026 17:18:47 -0400 Subject: [PATCH 1/2] ci(pgtest): raise the job timeout to 30 minutes (RIG-5324) Successful pgtest jobs now take 17.7 to 19.4 minutes. The -race real-Postgres suite alone takes about 17 minutes, and the sqlc-vet bootstrap still runs after it. Two recent jobs were cancelled at 20.2 and 20.4 minutes. In the #2244 run, all 11 Postgres packages had reported ok before the cancel landed during the sqlc-vet bootstrap. Thirty minutes leaves about ten minutes of headroom over the slowest passing run. The per-package go test -timeout of 15m still catches a wedged suite. Ledger-impact: none (CI timeout only; no recorded decision covers it) Co-authored-by: Matt Wilkinson --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 723840917..a917143ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -654,7 +654,9 @@ jobs: github.event.inputs.pr != '') && (github.event_name != 'pull_request' || needs.setup.outputs.pgtest_affected == 'true') - timeout-minutes: 20 + # Passing runs take 18-19.5m (the -race suite alone is ~17m); at 20, runs + # whose packages all passed were cancelled during the sqlc-vet bootstrap. + timeout-minutes: 30 env: # The Real-Postgres suites bind AF_UNIX sockets under t.TempDir(); the # runner's default TMPDIR overflows sun_path's 108-byte cap. Same reason as From 3103b90bd351f4e513c9da3543b7778c26bb4d35 Mon Sep 17 00:00:00 2001 From: mintaka Date: Mon, 12 Oct 2026 18:06:39 -0400 Subject: [PATCH 2/2] ci(pgtest): scope the timeout comment to the one cancelled run on record (RIG-5324) Co-authored-by: Matt Wilkinson --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a917143ed..691fb82fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -654,8 +654,8 @@ jobs: github.event.inputs.pr != '') && (github.event_name != 'pull_request' || needs.setup.outputs.pgtest_affected == 'true') - # Passing runs take 18-19.5m (the -race suite alone is ~17m); at 20, runs - # whose packages all passed were cancelled during the sqlc-vet bootstrap. + # Passing runs take 18-19.5m (the -race suite alone is ~17m); at 20, a run + # whose packages had all passed was cancelled during the sqlc-vet bootstrap. timeout-minutes: 30 env: # The Real-Postgres suites bind AF_UNIX sockets under t.TempDir(); the