@stsp @forgejo
From the bottom of the issue (possibly not there yet when you asked):
"The underlying bug seem to be git performing some cleanup of packfiles used by commit-graph, without refreshing this graph (incorrect heuristics in `should_write_commit_graph`?).
Setting `git config maintenance.commit-graph.auto -1` forces the commit-graph to be re-written on each maintenance task and seems to repair the commit graph timely:"
https://codeberg.org/forgejo/forgejo/issues/15141#issuecomment-27543111