Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { describeRelayFailure } from './relay-error-redaction.js'
type Warn = (message: string) => void
// Log failed sweep steps; swallowed cleanup failures have stalled production rehoming for hours.
export async function runRelayBackgroundOperation(
operation: () => Promise<unknown>,
failureMessage: string,
warn: Warn = console.warn
): Promise<void> {
try {
await operation()
} catch (error) {
// Dependency outages must fail readiness without crashing liveness.
warn(`${failureMessage}: ${describeRelayFailure(error)}`)
}
}