hackage-server icon indicating copy to clipboard operation
hackage-server copied to clipboard

Revisions are slow to land in new package lists

Open sjakobi opened this issue 4 years ago • 1 comments

As a Hackage trustee, I frequently use hackage-cli to upload multiple revisions to Hackage. Usually I want to update my package list after the upload and check whether there are any bad build plans left for the package I'm interested in.

The problem is that the next cabal update never includes all the revisions I have just uploaded. It usually takes multiple minutes until cabal update finds a fully up-to-date package list.

So I'm wondering whether this process of updating the package list could be sped up a bit. I think it should ideally not take much more than 10s or so.

sjakobi avatar Oct 14 '21 22:10 sjakobi

There's a tradeoff in that there's caches, etc involved, since we're updating a single canonical index tarball rather than just updating bits here and there. So changes to this would involve tuning those cache timeouts as far as I know, and we'd need to work through the broader consequences.

gbaz avatar Oct 16 '21 03:10 gbaz