From 422364e68ea7a9a79ec9d839f95def428b9061ee Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Thu, 12 Mar 2026 20:46:20 -0700 Subject: [PATCH] Remove Foundry Rivet runner override --- foundry/packages/backend/src/actors/index.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/foundry/packages/backend/src/actors/index.ts b/foundry/packages/backend/src/actors/index.ts index 7d57fe5..7914847 100644 --- a/foundry/packages/backend/src/actors/index.ts +++ b/foundry/packages/backend/src/actors/index.ts @@ -8,25 +8,9 @@ import { project } from "./project/index.js"; import { sandboxInstance } from "./sandbox-instance/index.js"; import { workspace } from "./workspace/index.js"; -function normalizePublicApiUrl(raw: string | undefined): string | undefined { - const value = raw?.trim(); - if (!value) return undefined; - return value.replace(/\/$/, ""); -} - -const publicApiUrl = normalizePublicApiUrl(process.env.BETTER_AUTH_URL); -const shouldConfigureRunnerPool = Boolean(publicApiUrl && (process.env.RIVET_ENDPOINT || process.env.RIVET_ENGINE)); - export const registry = setup({ serverless: { basePath: "/v1/rivet", - ...(shouldConfigureRunnerPool - ? { - configureRunnerPool: { - url: `${publicApiUrl}/v1/rivet/start`, - }, - } - : {}), }, use: { workspace,