(
source: "cache" | "no_capability" | "credential_only" | "probe",
result: HealthCheckResult,
)
| 3281 | * are enumerable; `detail`/`identity` (upstream free text / an email) |
| 3282 | * never go on a span. */ |
| 3283 | const annotateHealthVerdict = ( |
| 3284 | source: "cache" | "no_capability" | "credential_only" | "probe", |
| 3285 | result: HealthCheckResult, |
| 3286 | ): Effect.Effect<void> => |
| 3287 | Effect.annotateCurrentSpan({ |
| 3288 | "executor.health.status": result.status, |
| 3289 | "executor.health.source": source, |
| 3290 | ...(result.httpStatus !== undefined |
| 3291 | ? { "executor.health.http_status": result.httpStatus } |
| 3292 | : {}), |
| 3293 | }); |
| 3294 | |
| 3295 | const connectionCheckHealth = ( |
| 3296 | ref: ConnectionRef, |
no outgoing calls
no test coverage detected