Skip to content
Snippets Groups Projects
Unverified Commit 9fd7dfd5 authored by Will Chandler's avatar Will Chandler
Browse files

repository: No storage check for fork source repo

With 79e94764 (repository: Refactor repository validation to verify
existence, 2023-06-12) we started checking that the `SourceRepository`
storage name passed to `CreateFork` is valid and exists on the receiving
Gitaly node. Previously we confirmed this value was not empty, but
did not actually check that storage existed in the config or was present
on disk.

This field is unusual in that Praefect intentionally does not rewrite it
when proxying, which caused fork requests using the new validation
checks to fail with:

  validating source repository: storage name not found

Use the newly added `WithSkipStorageExistenceCheck` option to elide this
check.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment