Skip to content

codeintel: fix oldest stale commitgraph calculation

Warren Gifford requested to merge nsc-efritz/lsif-repo-dirty-timestamp into main

Created by: Strum355

Previously, the calculation for the oldest stale commit graph used lsif_dirty_repositories.updated_at, which is the last time the commit graph was updated as opposed to when the commit graph became dirty, the former could be a very long time ago when a new upload increments the dirty token, hence the spikes in the graph.

Test plan

manually by EYE 👁

Merge request reports

Loading