Page MenuHomeSoftware Heritage

Investigate and fix snapshots with broken links
Closed, MigratedEdits Locked

Description

We have a quantity of snapshots with broken links of some sorts:

  • branches with target_type = 'revision' but actually pointing at releases, directories or contents
  • branches with target_type = 'revision', with the revision that is missing

The first series is due to the original git loader not knowing how to distinguish branches pointing to different kinds of objects. The second series is due to other bugs, where snapshots have been loaded with the underlying data not being loaded yet.

This task will track how these snapshots are getting fixed.

Event Timeline

olasd triaged this task as High priority.Mar 16 2018, 5:53 PM
olasd created this task.

what's the status of this task today? is there a probe that tracks these broken links? (or a script one can run)

olasd removed olasd as the assignee of this task.Sep 22 2020, 4:46 PM

I don't think the script to check for these has been put anywhere, I believe it was just a raw SQL query.