Expand description
Shared cloud health gate (§4): poll a service URL until it returns the
expected status (and, if set, a body containing a needle) or a budget
expires. The loop is identical across cloud substrates; only the fault they
raise differs, so this returns a neutral HealthFailure the substrate maps
to its own HealthFailed (preserving per-provider codes/remediation, §2).
Structs§
- Health
Failure - A health gate that never went green within its budget, as neutral data the provider maps to its own fault.
Functions§
- poll
- Poll
urluntil it returnsexpected_statusand (when set) a body containingcontains, orbudgetexpires. Each failed attempt records why, so the returned detail explains the last thing seen.