Cloning Github dependencies can sometimes fail
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
Sometimes `cabal` will attempt to clone dependencies. This can even occur during a `cabal update`, `cabal configure`, `cabal build` or `cabal test`. The failure most often happens in Github Actions which leads to flaky builds.
These kinds of failures are expensive in CI especially for matrix style builds.
Perhaps `cabal` can have a retry strategy when it fails to clone so as to not just fail outright.
**To Reproduce**
Fork `git@github.com:input-output-hk/cardano-node.git` and branch from commit `b18c827c31999bca5cfb6ce70d7886407fc8fa43`, make a commit and push.
The build will _occasionally_ fail with the above-mentioned errors, somethings in `haskell/actions/setup`, sometimes in `cabal configure.
**Expected behavior**
`cabal` ought to be able to handle intermittent failures.
**System information**
* `cabal-3.4.0.0-rc4`
* Any GHC
Contributor guide
Assessment
This issue has not been assessed yet.