kratix icon indicating copy to clipboard operation
kratix copied to clipboard

Chore: Basic retry support for HTTP fetch on PromiseRelease

Open abangser opened this issue 1 year ago • 0 comments

The current implementation is a single HTTP request (https://github.com/syntasso/kratix/blob/0314320eec4c1f0d3a625ffbac717004287a1f31/lib/fetchers/url.go#L17). This is something that will work a lot of the time, but not all of the time. Some basic resiliency issues such as network blips should be handled by Kratix by default.

Add a simple retry mechanism with sensible backoffs/timeouts. Possibly leveraging this library.

abangser avatar Oct 01 '24 13:10 abangser