You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`CTRL_DATA_DIR`|`./data`| Databases, routing state, uploads, and narrow workspace mirrors. |
309
309
|`HELM_CHANNEL_COMPUTER_BACKEND`|`apple` on macOS, `lxc` on Linux, `wsl` on Windows | Host isolation backend; `native` and `mock` are explicit development/test overrides. |
// when agents are created and lazily on their first memory operation; a
2264
+
// retained fleet must never synchronously serialize Python init work on the
2265
+
// server event loop before or after the health port opens.
2266
+
voidmemoryRuntime.catch((error)=>console.warn(`1Helm could not prepare durable memory: ${(errorasError).message}`));
2270
2267
voidqueueLinuxHostContractMigration(DATA_DIR).catch((error)=>console.warn(`1Helm could not queue its Linux host-contract migration: ${(errorasError).message}`));
assert.match(source,/1helm-native-update-ready/,"Electron replaces the app only after the local host runtime has quiesced");
112
112
assert.match(server,/shutdown\(true\).*1helm-native-update-ready/s,"the host update API closes server work before handing installation back to Electron");
113
+
constbootstrap=server.slice(server.indexOf("async function bootstrap"),server.indexOf("void bootstrap()"));
114
+
assert.doesNotMatch(bootstrap,/ensureAgentMemory\(/,"retained resident memory initialization cannot block the event loop during a bounded host update");
115
+
assert.match(bootstrap,/voidmemoryRuntime\.catch/,"optional memory-runtime preparation remains asynchronous during startup");
113
116
assert.match(server,/\["native-macos","native-windows"\]\.includes\(update\.mode\)/,"both packaged host updaters quiesce the local server before replacement");
assert.match(nativeUpdater,/win32-x64/,"Windows checks and installs on its host through the native updater");
@@ -200,7 +203,7 @@ test("desktop entrypoint keeps the renderer sandboxed and data on the Mac", asyn
200
203
assert.match(awaitreadFile(join(root,"src","client","app.ts"),"utf8"),/mailto:build@1helm\.com/,"the in-app Feedback surface exposes the company contact address");
201
204
assert.match(terminalBrowser,/HELM_CHANNEL_COMPUTER_BACKEND:"native"/,"the terminal browser contract uses the explicit development backend on CI hosts without an installed LXC runtime");
assert.match(serverRuntime,/constmemoryRuntime=prepareMnemosyneRuntime\(\);[\s\S]*server\.listen\([\s\S]*memoryRuntime\.then/,"the HTTP server becomes ready before optional memory installation and initializes agent databases afterward");
206
+
assert.match(serverRuntime,/constmemoryRuntime=prepareMnemosyneRuntime\(\);[\s\S]*server\.listen\([\s\S]*voidmemoryRuntime\.catch/,"the HTTP server becomes ready without synchronously initializing every retained agent database");
0 commit comments