Skip to content

v0.1.0

Latest

Choose a tag to compare

@thejusdutt thejusdutt released this 24 Sep 18:36

First public release.

retrystack finds retry layers that stack on the same outbound call (hand-rolled loops, retry helpers, avast/retry-go, cenkalti/backoff, go-retryablehttp, the AWS SDK, Envoy and Istio retry policies) and prints the worst-case number of attempts per call.

go install github.com/thejusdutt/retrystack/cmd/retrystack@v0.1.0
retrystack -dir . -max-attempts 10 -fail-on-unbounded

Or download a binary below (checksums.txt has the sha256 of each). A Go toolchain is still needed on the machine, at least as new as the code you scan.

What's been checked, and where it falls short: RESULTS.md. In short:

  • Docker harness with real Envoy and libraries: 15 of 17 edges exact, 0 below the measured count.
  • Real code: precision varies a lot by repo, and event/worker loops are the main source of false positives.
  • Large repos can need well over 8 GB of memory.