(
source: "cache" | "no_capability" | "credential_only" | "probe",
result: HealthCheckResult,
)
| 3684 | * are enumerable; `detail`/`identity` (upstream free text / an email) |
| 3685 | * never go on a span. */ |
| 3686 | const annotateHealthVerdict = ( |
| 3687 | source: "cache" | "no_capability" | "credential_only" | "probe", |
| 3688 | result: HealthCheckResult, |
| 3689 | ): Effect.Effect<void> => |
| 3690 | Effect.annotateCurrentSpan({ |
| 3691 | "executor.health.status": result.status, |
| 3692 | "executor.health.source": source, |
| 3693 | ...(result.httpStatus !== undefined |
| 3694 | ? { "executor.health.http_status": result.httpStatus } |
| 3695 | : {}), |
| 3696 | }); |
| 3697 | |
| 3698 | const connectionCheckHealth = ( |
| 3699 | ref: ConnectionRef, |
no outgoing calls
no test coverage detected