Skip to content

Type Alias: AppCircuitState ​

ts
type AppCircuitState = z.infer<typeof AppCircuitState>;

An install's circuit breaker, one per install shared by every worker (app-circuits.ts): open after the vendor's outages (timeouts and errors the app calls retryable) with no success between them, when calls fail at once without reaching the runner; half_open while a trial call is let through.

Released under the Apache-2.0 License.