fix(sqlite): reject runtimes vulnerable to WAL corruption (#106065)

* fix(sqlite): require WAL-reset-safe Node runtime

* docs(sqlite): document safe Node runtime floor

* fix(sqlite): defer runtime library validation until use

* fix(ci): align startup memory with Node 24.15
This commit is contained in:
Vincent Koc
2026-07-13 13:59:00 +08:00
parent 3010140d2c
commit c86285f3ed
82 changed files with 1290 additions and 633 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ export async function runNodeDaemonInstall(opts: NodeDaemonInstallOptions) {
const runtimeRaw = opts.runtime ? opts.runtime : DEFAULT_GATEWAY_DAEMON_RUNTIME;
if (!isGatewayDaemonRuntime(runtimeRaw)) {
fail('Invalid --runtime (use "node" or "bun")');
fail('Invalid --runtime (use "node"; Bun lacks the required node:sqlite API)');
return;
}