Skip to content

Fix flaky failures in fork seeder

Stan Hu requested to merge sh-fixed-fork-project-seed into master

What does this MR do and why?

The seeder picks random 10 users, but if it picks a bot Projects::ForkService#execute will return an unsaved project since a bot namespace does not have permission to create projects. To avoid flaky failures, we should pick only human users.

Relates to #393442 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports

Loading