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): npm fetch-retry env so postinstall blips don't fail (iter 139)

ruvfb057d445c01
diff --git a/.github/workflows/metaharness-ci.yml b/.github/workflows/metaharness-ci.yml
index d0cfb83ea0..bcfdacf72b 100644
--- a/.github/workflows/metaharness-ci.yml
+++ b/.github/workflows/metaharness-ci.yml
@@ -152,6 +152,14 @@ jobs:
# failures (which the cli build doesn't need to succeed).
# [email protected] matches v3/package.json's packageManager pin.
cd v3
+ # iter 139 β€” npm/pnpm fetch retries via env. Several postinstalls
+ # (onnxruntime-node, sharp) download CDN binaries; GH runners
+ # observed ECONNRESET mid-fetch with no auto-retry. These env
+ # vars push npm/pnpm to retry 5x with 1s→60s backoff.
+ export npm_config_fetch_retries=5
+ export npm_config_fetch_retry_mintimeout=1000
+ export npm_config_fetch_retry_maxtimeout=60000
+ export npm_config_fetch_retry_factor=2
npx -y [email protected] install --frozen-lockfile --reporter=append-only
# iter 138 β€” pnpm rebuild sharp (iter 134) didn't fix the missing
# linux-x64 .node binary because pnpm 8.15's store doesn't honor
@@ -235,6 +243,14 @@ jobs:
# failures (which the cli build doesn't need to succeed).
# [email protected] matches v3/package.json's packageManager pin.
cd v3
+ # iter 139 β€” npm/pnpm fetch retries via env. Several postinstalls
+ # (onnxruntime-node, sharp) download CDN binaries; GH runners
+ # observed ECONNRESET mid-fetch with no auto-retry. These env
+ # vars push npm/pnpm to retry 5x with 1s→60s backoff.
+ export npm_config_fetch_retries=5
+ export npm_config_fetch_retry_mintimeout=1000
+ export npm_config_fetch_retry_maxtimeout=60000
+ export npm_config_fetch_retry_factor=2
npx -y [email protected] install --frozen-lockfile --reporter=append-only
# iter 138 β€” pnpm rebuild sharp (iter 134) didn't fix the missing
# linux-x64 .node binary because pnpm 8.15's store doesn't honor
@@ -421,6 +437,14 @@ jobs:
# failures (which the cli build doesn't need to succeed).
# [email protected] matches v3/package.json's packageManager pin.
cd v3
+ # iter 139 β€” npm/pnpm fetch retries via env. Several postinstalls
+ # (onnxruntime-node, sharp) download CDN binaries; GH runners
+ # observed ECONNRESET mid-fetch with no auto-retry. These env
+ # vars push npm/pnpm to retry 5x with 1s→60s backoff.
+ export npm_config_fetch_retries=5
+ export npm_config_fetch_retry_mintimeout=1000
+ export npm_config_fetch_retry_maxtimeout=60000
+ export npm_config_fetch_retry_factor=2
npx -y [email protected] install --frozen-lockfile --reporter=append-only
# iter 138 β€” pnpm rebuild sharp (iter 134) didn't fix the missing
# linux-x64 .node binary because pnpm 8.15's store doesn't honor
@@ -541,6 +565,14 @@ jobs:
# failures (which the cli build doesn't need to succeed).
# [email protected] matches v3/package.json's packageManager pin.
cd v3
+ # iter 139 β€” npm/pnpm fetch retries via env. Several postinstalls
+ # (onnxruntime-node, sharp) download CDN binaries; GH runners
+ # observed ECONNRESET mid-fetch with no auto-retry. These env
+ # vars push npm/pnpm to retry 5x with 1s→60s backoff.
+ export npm_config_fetch_retries=5
+ export npm_config_fetch_retry_mintimeout=1000
+ export npm_config_fetch_retry_maxtimeout=60000
+ export npm_config_fetch_retry_factor=2
npx -y [email protected] install --frozen-lockfile --reporter=append-only
# iter 138 β€” pnpm rebuild sharp (iter 134) didn't fix the missing
# linux-x64 .node binary because pnpm 8.15's store doesn't honor