actions / runner-container-hooks

Runner Container Hooks for GitHub Actions
MIT License
73 stars 44 forks source link

Implement exponential retry/backoff mechanism in k8s pod exec #125

Open nielstenboom opened 9 months ago

nielstenboom commented 9 months ago

Hey there!

We've internally been experiencing issues with the following two issues:

https://github.com/actions/runner-container-hooks/issues/103 https://github.com/actions/runner-container-hooks/issues/107

In this PR I attempted to tackle them both by;

Typescript is not my main language so apologies if things are not entirely how they should be, did my best to add some proper tests for it 💪

Please please don't hesitate to make (major) edits to this PR! I'd be very happy if that would close these issues quicker 😄

Thanks!

closes https://github.com/actions/runner-container-hooks/issues/103 closes https://github.com/actions/runner-container-hooks/issues/107

nielstenboom commented 9 months ago

@nikola-jokic would you have time to look at this soon? Thanks 😄