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

chore(e2e): say why the init --dual plugin install row failed

r589111a20f99
diff --git a/scripts/e2e/leg-codex.mjs b/scripts/e2e/leg-codex.mjs
index a971d8cb0b..d743adaae4 100644
--- a/scripts/e2e/leg-codex.mjs
+++ b/scripts/e2e/leg-codex.mjs
@@ -36,7 +36,7 @@ export async function codexLeg({ cli, live }) {
// `init --dual` registers the ruflo marketplace and installs ruflo-core@ruflo itself (#2801). On a fresh CODEX_HOME that must just work.
const afterInit = await run(bin, ['plugin', 'list'], { cwd: proj, env, timeout: 60_000 })
- rec.check('init --dual on a fresh CODEX_HOME leaves ruflo-core@ruflo installed (marketplace clone must outlast the init timeout)', /ruflo-core@ruflo\s+installed/.test(afterInit.out), (afterInit.out.match(/ruflo-core@ruflo.*/) ?? [redact(init.out.match(/Failed to install[^\n]*/)?.[0] ?? 'not listed')])[0].slice(0, 180))
+ rec.check('init --dual on a fresh CODEX_HOME leaves ruflo-core@ruflo installed (marketplace clone must outlast the init timeout)', /ruflo-core@ruflo\s+installed/.test(afterInit.out), (afterInit.out.match(/ruflo-core@ruflo.*/) ?? [`not listed. list exit=${afterInit.code} out=${afterInit.out.replace(/\s+/g, ' ').slice(0, 120)} err=${redact(afterInit.err).replace(/\s+/g, ' ').slice(0, 120)} | init said: ${redact(`${init.out}\n${init.err}`).split('\n').filter(l => /codex|plugin|marketplace|ruflo-core/i.test(l)).join(' / ').replace(/\s+/g, ' ').slice(0, 300)}`])[0].slice(0, 600))
// Then swap in the CHECKOUT as a local marketplace, so the remaining assertions test this tree, not main on GitHub.
await run(bin, ['plugin', 'marketplace', 'remove', 'ruflo'], { cwd: proj, env, timeout: 60_000 })
const mk = await run(bin, ['plugin', 'marketplace', 'add', REPO], { cwd: proj, env, timeout: 120_000 })