Pin the HTTP target's unpinned error checks (closes #285) #458

Merged
clawbot merged 1 commits from issue-285-pin-withretry-bookkeeping into next 2026-10-02 19:37:36 +02:00
1 Commits
Author SHA1 Message Date
clawbot 5d8e0cf3a0 Pin the HTTP target's unpinned error checks (closes #285)
check / check (push) Waiting to run
withRetry's check on a failed result write could be removed with
every test still passing, and so could six other error checks in
target_http.go. Each now has a test that fails without it: the
circuit breaker learning the answer to a send whose result went
unrecorded, the result write for an invalid config, building the
request, reading the response body, decoding the target config, and
decoding the stored inbound headers.

The two backoff lookups' error checks stay unpinned: without them a
failed lookup leaves a zero time, which gives the same answer, so no
test can tell the difference.

Model: opus-5-5
2026-10-02 17:07:30 +00:00