haskell / haskell/haskell-language-server

Please, make CI caching more tolerant

Open
#2,534 4 comments 0 reactions 0 assignees View on GitHub
CI status: in discussion type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
4d 3h
Merged PRs (30d)
12

Description

In #2503 the caching workflow for the most important part (GHC 9.2) - would fail. Because `cabal v2-build all` would not work there.

Think about, would it be reasonable to cache all OR main+test OR main. That would allow acquiring relevant partial cache, which would allow a faster CI loop to solve problems. But that also would happen when `freeze` is not possible (since `build all` has the exact same requirement) & when `freeze` is not possible - under certain conditions we do not have an effective way to detect when to save new cache.

At the same time we really can not expand cache more pretty much due to pool limit & for the same reason, we reaching a limit on expanding the key matrix more.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.