Skip to content

worker: fix repo existence check

Administrator requested to merge ao/bb-perms-job-fix-repo-existence-check into main

Created by: sashaostrikov

Bug spotted during manual testing

Previous way of getting the repo always resulted in not finding it due to repo access logic bound to some user, but our context is a background context, that's why there is no info about user -> no repo cannot be found.

Test plan

existing tests should pass

Merge request reports

Loading