ruvnet/ruflo · error · Error
Circuit breaker is open. Service temporarily unavailable.
Error message
Circuit breaker is open. Service temporarily unavailable.
What it means
Error "Circuit breaker is open. Service temporarily unavailable." thrown in ruvnet/ruflo.
Source
Thrown at v3/@claude-flow/cli/src/production/circuit-breaker.ts:116
case 'open':
return false;
case 'half-open':
// Allow a percentage of requests through
return Math.random() < this.config.halfOpenRequestPercentage;
default:
return true;
}
}
/**
* Execute a function through the circuit breaker
*/
async execute<T>(fn: () => Promise<T>): Promise<T> {
if (!this.isAllowed()) {
throw new Error('Circuit breaker is open. Service temporarily unavailable.');
}
this.totalRequests++;
try {
const result = await fn();
this.recordSuccess();
return result;
} catch (error) {
this.recordFailure();
throw error;
}
}
/**
* Record a successful operation
*/
recordSuccess(): void {View on GitHub (pinned to 6b01dc5a68)
When it happens
Trigger: Thrown at v3/@claude-flow/cli/src/production/circuit-breaker.ts:116 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/cf480181844f9a8c.
Report an issue: GitHub.