Fix forks service
What does this MR do?
During seeing I discovered that the Fork service incorrectly returns the project even if it is in error (persisted but invalid).
This probably indicates bigger problems (we don't want to have persisted invalid records), but it also has the effect of breaking the forks seed job, which raises an error.
This MR ensures that the forks service either succeeds, or does not raise an error.
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios. -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Performance and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Edited by Alex Kalderimis