(
source: "cache" | "no_capability" | "credential_only" | "probe",
result: HealthCheckResult,
)
| 3901 | * are enumerable; `detail`/`identity` (upstream free text / an email) |
| 3902 | * never go on a span. */ |
| 3903 | const annotateHealthVerdict = ( |
| 3904 | source: "cache" | "no_capability" | "credential_only" | "probe", |
| 3905 | result: HealthCheckResult, |
| 3906 | ): Effect.Effect<void> => |
| 3907 | Effect.annotateCurrentSpan({ |
| 3908 | "executor.health.status": result.status, |
| 3909 | "executor.health.source": source, |
| 3910 | ...(result.httpStatus !== undefined |
| 3911 | ? { "executor.health.http_status": result.httpStatus } |
| 3912 | : {}), |
| 3913 | }); |
| 3914 | |
| 3915 | const connectionCheckHealth = ( |
| 3916 | ref: ConnectionRef, |
no outgoing calls
no test coverage detected