Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(scripts): keep storage-scenarios cores off the auto-updater

M3gA-Mind710726b959a1
diff --git a/scripts/storage-scenarios/README.md b/scripts/storage-scenarios/README.md
index 5aa96f4622..a1e03fa7a0 100644
--- a/scripts/storage-scenarios/README.md
+++ b/scripts/storage-scenarios/README.md
@@ -128,7 +128,9 @@ when it is not, #8076), then writes the marker.
- **No backend is reachable**: every config the run writes sets
`api_url = "http://127.0.0.1:9"`, so a call the core makes on its own
(notification triage, the first use of J's fictional API key) fails on a
- closed loopback port instead of reaching a network or a model.
+ closed loopback port instead of reaching a network or a model, and
+ `OPENHUMAN_AUTO_UPDATE_ENABLED=false` keeps the auto-updater from asking
+ GitHub for a release.
- **No background job runs** (`[scheduler_gate] mode = "off"` in every config
the run writes, including each signed-in user's): the legacy fixture holds
cron jobs that are due. Composio is off.
diff --git a/scripts/storage-scenarios/run.mjs b/scripts/storage-scenarios/run.mjs
index 37c4ed32fc..aba13ed4f4 100644
--- a/scripts/storage-scenarios/run.mjs
+++ b/scripts/storage-scenarios/run.mjs
@@ -127,7 +127,9 @@ class Rig {
this.results = results;
this.methods = null;
this.core = null;
- this.env = {};
+ // The auto-updater would otherwise ask api.github.com for a release: the
+ // run stays offline.
+ this.env = { OPENHUMAN_AUTO_UPDATE_ENABLED: "false" };
if (masterKey) {
const key = randomBytes(32).toString("hex");
this.secrets.push(key);