(
source: "cache" | "no_capability" | "credential_only" | "probe",
result: HealthCheckResult,
)
| 3327 | * are enumerable; `detail`/`identity` (upstream free text / an email) |
| 3328 | * never go on a span. */ |
| 3329 | const annotateHealthVerdict = ( |
| 3330 | source: "cache" | "no_capability" | "credential_only" | "probe", |
| 3331 | result: HealthCheckResult, |
| 3332 | ): Effect.Effect<void> => |
| 3333 | Effect.annotateCurrentSpan({ |
| 3334 | "executor.health.status": result.status, |
| 3335 | "executor.health.source": source, |
| 3336 | ...(result.httpStatus !== undefined |
| 3337 | ? { "executor.health.http_status": result.httpStatus } |
| 3338 | : {}), |
| 3339 | }); |
| 3340 | |
| 3341 | const connectionCheckHealth = ( |
| 3342 | ref: ConnectionRef, |
no outgoing calls
no test coverage detected