Skip to content

Force a reload on a forked project after its fork network is created

Stan Hu requested to merge sh-fix-stale-fork-network-ce into master

After a project is forked, we create its fork network. The loaded model may not know that the network has changed underneath it, so we now force a reload on the project to ensure it has the most current information.

Closes gitlab-org/gitlab-ce#45350

This is a CE backport for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5382/diffs. I've created this in EE first to ensure it solves the ~"broken master" problem.

Edited by Stan Hu

Merge request reports