Skip to content

Add repos from user_public_repos to the user's search context.

Administrator requested to merge user-repos-search-context into main

Created by: arussellsaw

This PR hooks up the user_public_repos table to the user's search context, doing a concurrent ListByUser when fetching repos to resolve for the search context. I also slightly expanded the testing on user search contexts to assert that we're getting back the repos we expect from the resolver, and i also replaced a few usages of database.GlobalSomething with an injected dbutil.DB

Screenshot 2021-03-08 at 10 26 50

Merge request reports

Loading