Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows cache2 #58

Closed
wants to merge 11 commits into from
Closed

Fix windows cache2 #58

wants to merge 11 commits into from

Conversation

jneira
Copy link
Owner

@jneira jneira commented Dec 19, 2021

No description provided.

@jneira jneira force-pushed the fix-windows-cache2 branch 3 times, most recently from 1337ec1 to 428b346 Compare December 19, 2021 22:22
@jneira jneira force-pushed the fix-windows-cache2 branch 3 times, most recently from f2a5ad0 to 3ae7f73 Compare December 20, 2021 12:07
jneira and others added 11 commits December 20, 2021 21:55
* Bump up retrie to 1.2.0.0

* Use 1.2.0.0 wjen possible
This is vacuous change, Hackage rerolls to the previous snapshot time
nevertheless of this change, but the caches get a new key namespace.
* Use new cabal dir

* Use new cabal dir in caching
)

* CI: caching: add early termination

* CI: caching: run cache check 3 times a day

Recently there is a lot of PRs/builds from internal repo branches. Repo cache
has 10G pool limit & PR caches are not shared between PRs, but main branch cache
is.

Checking & when missing rebuilding it ensures that if internal branch PRs pushed main state
out of the pool - it gets reinstituted.

*afaik* there is no way to prioritize main branch cache better, since GitHub CI
FIFO caches out of the pool by build time.

Co-authored-by: Javier Neira <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@jneira jneira force-pushed the fix-windows-cache2 branch from 35d0e61 to 0910a80 Compare December 21, 2021 17:10
@jneira jneira closed this Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants