From f46692531f504848090ab1f0db6062745d2973d4 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Mon, 9 Mar 2026 21:06:45 +0200 Subject: [PATCH] fix(site/e2e): increase webServer timeout to 120s (#22731) The Playwright e2e `webServer` starts the Coder server via `go run -tags embed`, which must compile before serving. The default 60s timeout leaves no margin when the CI runner is slow. Failed run: https://github.com/coder/coder/actions/runs/22782592241/job/66091950715 Successful run: https://github.com/coder/coder/actions/runs/22782107623/job/66090828826 The server started and printed its banner, but with only ~4s left on the clock the health check (`/api/v2/deployment/config`) could not complete before the timeout fired. The same ~2x slowdown shows in the `make site/e2e/bin/coder` step (45s vs 67s), confirming this is runner performance variability. Increase timeout to 120s. Refs #22727 --- site/e2e/playwright.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site/e2e/playwright.config.ts b/site/e2e/playwright.config.ts index a24ab8e61e..247eee1793 100644 --- a/site/e2e/playwright.config.ts +++ b/site/e2e/playwright.config.ts @@ -66,6 +66,9 @@ export default defineConfig({ }, webServer: { url: `http://localhost:${coderPort}/api/v2/deployment/config`, + // The default timeout is 60s, but `go run` compilation with the + // embed tag can take longer on CI. + timeout: 120_000, command: [ `go run -tags embed ${path.join(__dirname, "../../enterprise/cmd/coder")}`, "server",