Harden the retry classifier and pin per-attempt deadlines #83

Merged
clawbot merged 1 commits from issue-80-retry-hardening into next2 2026-09-23 02:38:02 +02:00
1 Commits
Author SHA1 Message Date
sneak 435c84fc35 Harden the retry classifier and pin per-attempt deadlines (closes #80)
check / check (push) Successful in 17s
A POST or PUT is replayed only when every errno in the cause chain is a
connect errno and the walk reached the end of the chain, and
postJSON/putJSON no longer follow redirects, so a redirect is an
ApiError that is not retried. getRetryOptions() returns a copy. New
tests pin every errno the classifier names, the cause-chain depth
limit, a chain deeper than the limit, a two-error cycle, and a fresh
deadline per attempt for every retrying entry point. The README
endpoint list is now the one place naming the requests the replay rule
covers; code comments point to it.

Model: opus-5-5
2026-09-23 00:34:34 +00:00