mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-02 02:38:30 -06:00
exchange() retries once when the first attempt was not sent (or is read-only), but the retry dropped `sent`: a mutation the retry sent and whose reply was lost came back as a plain transport error, without the "may or may not have been applied" warning. The new ping before long requests adds a way into that retry (a lost ping reply counts as not sent). The retry now keeps `sent` and returns the same warning for mutations; read-only methods keep the plain error. Test: a_lost_reply_on_the_retry_still_says_a_mutation_may_have_been_applied. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>