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(metaharness-ci): rebuild sharp postinstall after pnpm install (iter 134)

ruvc0276b6fb418
diff --git a/.github/workflows/metaharness-ci.yml b/.github/workflows/metaharness-ci.yml
index eb3e778426..96a87d19c7 100644
--- a/.github/workflows/metaharness-ci.yml
+++ b/.github/workflows/metaharness-ci.yml
@@ -150,6 +150,15 @@ jobs:
# [email protected] matches v3/package.json's packageManager pin.
cd v3
npx -y [email protected] install --frozen-lockfile --reporter=append-only
+ # iter 134 β€” pnpm 8.15 sandboxes some postinstall scripts in CI,
+ # leaving [email protected] without its linux-x64 .node binary. The
+ # CLI's transitive agentic-flow chain require()'s sharp at
+ # bootstrap, so eject + similarity dispatch fail at runtime with
+ # "Cannot find module '../build/Release/sharp-linux-x64.node'".
+ # Explicitly rebuild sharp's native bindings; `|| true` because
+ # if it fails the worst case is the pre-existing missing-binary
+ # which the runtime path already handles (sharp is optional).
+ npx -y [email protected] rebuild sharp 2>/dev/null || true
# iter 127b β€” `|| true` because cli's tsc emits TS6305 ("Output
# file has not been built from source file") for cross-package
# relative imports from @claude-flow/swarm/src/..., even though
@@ -220,6 +229,15 @@ jobs:
# [email protected] matches v3/package.json's packageManager pin.
cd v3
npx -y [email protected] install --frozen-lockfile --reporter=append-only
+ # iter 134 β€” pnpm 8.15 sandboxes some postinstall scripts in CI,
+ # leaving [email protected] without its linux-x64 .node binary. The
+ # CLI's transitive agentic-flow chain require()'s sharp at
+ # bootstrap, so eject + similarity dispatch fail at runtime with
+ # "Cannot find module '../build/Release/sharp-linux-x64.node'".
+ # Explicitly rebuild sharp's native bindings; `|| true` because
+ # if it fails the worst case is the pre-existing missing-binary
+ # which the runtime path already handles (sharp is optional).
+ npx -y [email protected] rebuild sharp 2>/dev/null || true
# iter 127b β€” `|| true` because cli's tsc emits TS6305 ("Output
# file has not been built from source file") for cross-package
# relative imports from @claude-flow/swarm/src/..., even though
@@ -393,6 +411,15 @@ jobs:
# [email protected] matches v3/package.json's packageManager pin.
cd v3
npx -y [email protected] install --frozen-lockfile --reporter=append-only
+ # iter 134 β€” pnpm 8.15 sandboxes some postinstall scripts in CI,
+ # leaving [email protected] without its linux-x64 .node binary. The
+ # CLI's transitive agentic-flow chain require()'s sharp at
+ # bootstrap, so eject + similarity dispatch fail at runtime with
+ # "Cannot find module '../build/Release/sharp-linux-x64.node'".
+ # Explicitly rebuild sharp's native bindings; `|| true` because
+ # if it fails the worst case is the pre-existing missing-binary
+ # which the runtime path already handles (sharp is optional).
+ npx -y [email protected] rebuild sharp 2>/dev/null || true
# iter 127b β€” `|| true` because cli's tsc emits TS6305 ("Output
# file has not been built from source file") for cross-package
# relative imports from @claude-flow/swarm/src/..., even though
@@ -500,6 +527,15 @@ jobs:
# [email protected] matches v3/package.json's packageManager pin.
cd v3
npx -y [email protected] install --frozen-lockfile --reporter=append-only
+ # iter 134 β€” pnpm 8.15 sandboxes some postinstall scripts in CI,
+ # leaving [email protected] without its linux-x64 .node binary. The
+ # CLI's transitive agentic-flow chain require()'s sharp at
+ # bootstrap, so eject + similarity dispatch fail at runtime with
+ # "Cannot find module '../build/Release/sharp-linux-x64.node'".
+ # Explicitly rebuild sharp's native bindings; `|| true` because
+ # if it fails the worst case is the pre-existing missing-binary
+ # which the runtime path already handles (sharp is optional).
+ npx -y [email protected] rebuild sharp 2>/dev/null || true
# iter 127b β€” `|| true` because cli's tsc emits TS6305 ("Output
# file has not been built from source file") for cross-package
# relative imports from @claude-flow/swarm/src/..., even though