ruvnet/ruflo · error · Error
gh release download failed (exit ${result.exitCode}): ${resu
Error message
gh release download failed (exit ${result.exitCode}): ${result.stderr || result.stdout} What it means
Error "gh release download failed (exit ${result.exitCode}): ${result.stderr || result.stdout}" thrown in ruvnet/ruflo.
Source
Thrown at v3/@claude-flow/cli/src/proxy/release.ts:121
const exec = await ghExecutor();
const result = await exec.execute('gh', [
'release',
'download',
`v${version}`,
'--repo',
GH_REPO,
'--dir',
destDir,
'--pattern',
archiveFilename,
'--pattern',
'SHA256SUMS',
'--pattern',
'SHA256SUMS.sig',
'--clobber',
]);
if (result.exitCode !== 0) {
throw new Error(`gh release download failed (exit ${result.exitCode}): ${result.stderr || result.stdout}`);
}
const { readFile } = await import('node:fs/promises');
const { join } = await import('node:path');
const [archiveBytes, sumsBytes, sigRaw] = await Promise.all([
readFile(join(destDir, archiveFilename)),
readFile(join(destDir, 'SHA256SUMS')),
readFile(join(destDir, 'SHA256SUMS.sig'), 'utf-8'),
]);
return { archiveBytes, archiveFilename, sumsBytes, sigBase64: sigRaw.trim() };
}
/**
* Production download path — a Cognitum-owned, auth-mediated release-proxy
* endpoint. Not implemented: no such endpoint exists in the confirmed
* OpenAPI contract today. Throws a clear, specific error rather than
* silently falling back to the dev path, so a real user hitting this isn't
* left guessing whether it's their environment or a genuine gap.View on GitHub (pinned to 6b01dc5a68)
When it happens
Trigger: Thrown at v3/@claude-flow/cli/src/proxy/release.ts:121 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@6b01dc5a68 (2026-08-12).
Data as JSON: /api/errors/488dd9198d20dc43.
Report an issue: GitHub.