sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

Searching for my github repo with Sourcegraph returns zero results #16538

Open joegiglio opened 3 years ago

joegiglio commented 3 years ago

Steps to reproduce:

  1. Go to https://sourcegraph.com/search and search for joegiglio.org/flask-crud

Expected behavior:

  1. This query displays zero results. If you look in the console, it shows {"data":{"search":{"suggestions":[]}}}.

Actual behavior:

  1. It should show a link to the repo https://github.com/joegiglio/flask-crud
  2. If you use the Github API, it works as expected. Example: curl https://api.github.com/search/repositories?q=joegiglio/flask-crud
joegiglio commented 3 years ago

This is working now but would like to know why. Was something fixed? Did it take time to index?

joegiglio commented 3 years ago

Here is another example. I created this public repo yesterday.

It appears in Github's own API search but not through Sourcegraph: https://api.github.com/search/repositories?q=joegiglio/sourcegraph-romeo-test