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): show the Codex lines of init output when the plugin install row fails

r760b4cd0b32d
diff --git a/scripts/e2e/leg-codex.mjs b/scripts/e2e/leg-codex.mjs
index d743adaae4..0cbd36fde8 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.*/) ?? [`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))
+ 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|marketplace|ruflo-core|Failed to install|Install manually/i.test(l) && !/mods|enabledPlugins|settings\.json/i.test(l)).join(' / ').replace(/\s+/g, ' ').slice(0, 700)}`])[0].slice(0, 1100))
// 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 })