Skip to content

Handle forks in Gitlab::Checks::LfsIntegrity

James Edwards-Jones requested to merge jej/fix-lfs-integrity-with-forks into master

What

  • Update LfsIntegrity check to handle forks
  • Moves LfsIntegrity specs to own file
  • Creates Project#lfs_storage_project to replace LfsRequest#storage_project and LfsObject#storage_project.

Why

LFS objects for forks are not stored as project.lfs_objects, but rather stored on the fork network's root project. The LFS integrity check didn't yet use this.

Acceptance criteria

  • Changelog entry added, if necessary
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend

Related

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39902

Edited by 🤖 GitLab Bot 🤖

Merge request reports