Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

fix(smoke): bump Windows `ruflo init` timeout 60s → 180s (iter 123)

ruvb76afb2e7a44
diff --git a/scripts/smoke-windows-hook-execution.mjs b/scripts/smoke-windows-hook-execution.mjs
index aba549d10b..283fc90d6d 100644
--- a/scripts/smoke-windows-hook-execution.mjs
+++ b/scripts/smoke-windows-hook-execution.mjs
@@ -58,7 +58,11 @@ const initResult = spawnSync(
cwd: tmpDir,
env: { ...process.env, CI: 'true', FORCE_COLOR: '0' },
encoding: 'utf8',
- timeout: 60_000,
+ // iter 123 — bumped from 60_000 to 180_000 (same reason as
+ // scripts/smoke-windows-init-hooks.mjs). Cold-start `ruflo init` on
+ // Windows runners exceeds 60s; init exits with status=null (timer
+ // fired) and no settings.json is written. 180s gives 3x headroom.
+ timeout: 180_000,
}
);
diff --git a/scripts/smoke-windows-init-hooks.mjs b/scripts/smoke-windows-init-hooks.mjs
index 18bc3b816d..dd4887b200 100644
--- a/scripts/smoke-windows-init-hooks.mjs
+++ b/scripts/smoke-windows-init-hooks.mjs
@@ -59,7 +59,13 @@ const result = spawnSync(
FORCE_COLOR: '0',
},
encoding: 'utf8',
- timeout: 60_000,
+ // iter 123 — bumped from 60_000 to 180_000. Windows cold-start `ruflo
+ // init` consistently exceeds 60s (pnpm cache cold, hnswlib-node gyp
+ // probe overhead, antivirus stat). The init exited with status=null
+ // (= the spawn timer fired) which means it hadn't even finished the
+ // init handler, never mind written settings.json. 180s gives 3x
+ // headroom while still catching a genuinely-hung init.
+ timeout: 180_000,
// Don't fail if the command exits non-zero — init may partially succeed
}
);