Skip to content

Fix Error 500s with anonymous clones for a project that has moved

Stan Hu requested to merge sh-handle-anonymous-clones-project-moved into master

We use a custom Redis key to post a redirect message for specific users, but for anonymous clones this fails because there is no id associated with it.

For now, disable redirect messages for anonymous clone since they will never see them since there is no associated user ID in the post_receive endpoint.

Closes #41457 (closed)

/cc: @mayra-cabrera, @DouweM

Edited by Stan Hu

Merge request reports