Poll audited bundle opportunities every five minutes

This commit is contained in:
Theodore Song
2026-08-21 19:29:50 -04:00
parent a01571d5ee
commit 1da2ab3e29
6 changed files with 66 additions and 34 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", "97"));
const expectedBuild = Number(required("EXPECTED_BUILD", "98"));
await ensureRuntimeBranch(repository, branch);
const prior = await readRuntimeFile(repository, branch, pathname);
if (prior.snapshot) validateRuntimeSnapshot(prior.snapshot, 0, { allowIncomplete: true });