Skip to content

WIP: Reduce amount of stored keep arounds

Kamil Trzciński requested to merge store-only-non-head-keep-arounds into master

What does this MR do?

This tries to normalize keep around sha to HEAD sha and retain only HEAD sha when needed.

The tricky part is that #ancestor? is an expensive call to do, but maybe it is worth the cost.

This gonna work beautifully in the following conditions:

  1. when we import project,
  2. we import a lot of PRs,
  3. since most of PRs are merged we do not need to create most of keep-around are part of HEAD.

What are the relevant issue numbers?

TBD

Does this MR meet the acceptance criteria?

Edited by Kamil Trzciński

Merge request reports