fix(foundry): fix runner version

This commit is contained in:
Nathan Flurry 2026-03-17 14:33:13 -07:00
parent f25a92aca8
commit ffb9f1082b
10 changed files with 114 additions and 6 deletions

View file

@ -6,16 +6,15 @@ import { auditLog } from "./audit-log/index.js";
import { taskSandbox } from "./sandbox/index.js";
import { organization } from "./organization/index.js";
import { logger } from "../logging.js";
import { resolveRunnerVersion } from "../config/runner-version.js";
const RUNNER_VERSION = Math.floor(Date.now() / 1000);
const runnerVersion = resolveRunnerVersion();
export const registry = setup({
serverless: {
basePath: "/v1/rivet",
},
runner: {
version: RUNNER_VERSION,
},
runner: { version: runnerVersion },
logging: {
baseLogger: logger,
},