kratix
kratix copied to clipboard
Chore: Basic retry support for HTTP fetch on PromiseRelease
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.