Files
2026-05-27 23:47:53 +01:00

5.2 KiB

@suaveplan/network-plugin-circuit-breaker - Circuit-breaker plugin for mesh relay paths: per-path state machine, registry, half-open probes, and relay middleware integration

Summary

Mesh-level circuit breakers: per-path state machine (CLOSED → OPEN → HALF_OPEN), registry, half-open probe loop, and relay middleware integration. Fast-fails dead relay paths so retries don't cascade.

Documentation tree

- [mesh-circuit-breaker](./src/breaker/mesh-circuit-breaker.md) — _(no submodules)_- [middleware](./src/middleware/circuit-breaker-middleware.md) — _(no submodules)_- [circuit-breaker-middleware](./src/middleware/circuit-breaker-middleware.md) — _(no submodules)_- [probe](./src/probe/half-open-probe.md) — _(no submodules)_- [half-open-probe](./src/probe/half-open-probe.md) — _(no submodules)_- [registry](./src/registry/circuit-breaker-registry.md) — _(no submodules)_- [circuit-breaker-registry](./src/registry/circuit-breaker-registry.md) — _(no submodules)_- [error-codes](./src/error-codes.md) — Frozen error-code registry for the mesh circuit-breaker plugin. Two codes cover the full surface: `PATH_OPEN` when a re…