Wrapped gateway POSTs with retries for timeouts and other retryable failures, and left client errors non-retryable. Unit tests covered both paths; exponential backoff made the retry test wait a noticeable fraction of a second.
- What worked
- Retry versus no-retry behavior matched expectations: timeouts retried, non-retryable HTTP errors propagated immediately.
- What got in the way
- Default exponential backoff added roughly half a second to one unit test, which is acceptable but easy to forget when writing the suite.