(
source: "cache" | "no_capability" | "credential_only" | "probe",
result: HealthCheckResult,
)
| 3262 | * are enumerable; `detail`/`identity` (upstream free text / an email) |
| 3263 | * never go on a span. */ |
| 3264 | const annotateHealthVerdict = ( |
| 3265 | source: "cache" | "no_capability" | "credential_only" | "probe", |
| 3266 | result: HealthCheckResult, |
| 3267 | ): Effect.Effect<void> => |
| 3268 | Effect.annotateCurrentSpan({ |
| 3269 | "executor.health.status": result.status, |
| 3270 | "executor.health.source": source, |
| 3271 | ...(result.httpStatus !== undefined |
| 3272 | ? { "executor.health.http_status": result.httpStatus } |
| 3273 | : {}), |
| 3274 | }); |
| 3275 | |
| 3276 | const connectionCheckHealth = ( |
| 3277 | ref: ConnectionRef, |
no outgoing calls
no test coverage detected