haskellfoundation / haskellfoundation/hf-infrastructure

Reduce disk usage of stackage server

Open
#7 2 comments 0 reactions 1 assignee Claimed by @chreekat View on GitHub
Dominant language
Nix
Stars
9
Forks
4
Avg merge
1d 47m
Merged PRs (30d)
4

Description

Disk usage grows over time for a few reasons:

* [ ] 1. Snapshot curation builds ever more packages
* [x] 2. Haddock and hoogle generation leaves behind some artifacts
* [ ] 3. stackage-server fetches hoogle databases and doesn't clean them up when it switches to new ones

Historically this didn't matter because (1) it was easy enough to manually clean up after curation and (2) stackage-server ran on ephemeral Kubernetes pods that would just get recycled if they ran out of disk space.

Now that all these processes run on the same server, *and* we need backups of the server's database, we should start managing the growth of disk usage.

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.