From 94aa469e901f68201c166fc9571b84904bdb510f Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Wed, 24 Dec 2025 20:29:11 +0000 Subject: [PATCH] Stop workspace port warning timer after allocation --- packages/server/src/workspaces/runtime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/workspaces/runtime.ts b/packages/server/src/workspaces/runtime.ts index 6202bcfa..c18b934e 100644 --- a/packages/server/src/workspaces/runtime.ts +++ b/packages/server/src/workspaces/runtime.ts @@ -146,6 +146,7 @@ export class WorkspaceRuntime { const portMatch = line.match(/opencode server listening on http:\/\/.+:(\d+)/i) if (portMatch) { portFound = true + stopWarningTimer() child.removeListener("error", handleError) const port = parseInt(portMatch[1], 10) this.logger.info({ workspaceId: options.workspaceId, port }, "Workspace runtime allocated port")