Remove unused captured state and orphan helpers

This commit is contained in:
2026-11-05 14:33:04 +00:00
parent a91bc1608b
commit 7db5572b62
14 changed files with 16 additions and 74 deletions

View File

@@ -21,12 +21,11 @@ type reachabilityProbe struct {
}
type reachabilityProbeOutcome struct {
supported bool
reason domain.SmokeTestReason
initialEndpoint string
reachable *bool
evidence llm.HTTPExecutionEvidence
failure domain.ExecutionFailureKind
supported bool
reason domain.SmokeTestReason
reachable *bool
evidence llm.HTTPExecutionEvidence
failure domain.ExecutionFailureKind
}
func (p reachabilityProbe) run(
@@ -44,7 +43,7 @@ func (p reachabilityProbe) run(
if err != nil {
return reachabilityProbeOutcome{}, fmt.Errorf("prepare reachability endpoint: %w", err)
}
result := reachabilityProbeOutcome{supported: true, initialEndpoint: endpoint}
result := reachabilityProbeOutcome{supported: true}
response, evidence, requestErr := p.client.GetWithEvidence(ctx, endpoint, timeoutSeconds)
if response != nil && response.Body != nil {
_ = response.Body.Close()