haskell / cabal-cache

CI assistant
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

Improve retry #204

Closed hasufell closed 1 year ago

newhoggy commented 1 year ago

I made you a maintainer for this repository so you can push your branches directly here.

hasufell commented 1 year ago

Hmm, the behavior is a little odd when passing a nonsensical hostname.

hasufell commented 1 year ago

I think what happens here is that we can't abort the main thread on env config failure, because the IO is deferred to run in the child thread that accesses the AWS env. And then it somehow catches its own exception.

hasufell commented 1 year ago

Hmm, I think my assumptions are wrong. To create the env it will read credentials etc, but not do any network calls.