Serve the latest autonomous snapshot

This commit is contained in:
Theodore Song
2026-08-21 17:17:22 -04:00
parent 6e6477a4e3
commit 84e0ef703b
7 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ async function main() {
const branch = process.env.RUNTIME_BRANCH || "runtime-state";
const pathname = process.env.RUNTIME_STATE_PATH || "runtime/state.json";
const arenaUrl = (process.env.ARENA_URL || "https://polymarket-site-eta.vercel.app").replace(/\/$/, "");
const expectedBuild = Number(required("EXPECTED_BUILD", "89"));
const expectedBuild = Number(required("EXPECTED_BUILD", "90"));
await ensureRuntimeBranch(repository, branch);
const prior = await readRuntimeFile(repository, branch, pathname);
if (prior.snapshot) validateRuntimeSnapshot(prior.snapshot, 0, { allowIncomplete: true });