sourcegraph/src-cli

Repository Query does not match search

Opened this issue · 3 comments

When running locally (preview & apply), the number of repositories returned does not match search. For example when count is set to 65, only 64 repos are found. Higher counts like 400 return 397 repos.

When compared to search, search does return the correct number.

src search -- 'repo:^ghe.sgdev.org/testing/.*$ count:65'

Example YAML

on:
- repositoriesMatchingQuery: repo:^ghe.sgdev.org/testing/.*$ count:65

Output

✅ Resolved 64 workspaces from 64 repositories
✅ Found 0 cached changeset specs; 64 tasks need to be executed
✅ Executing... (64/64, 0 errored

Image

Done

  • The number of repositories found should match search

Setup

Use the scaletesting instance to test.

weird, would be great to figure out what's going on (and if it's that some are hidden for whatever reason, to at least say "some may be hidden bcs X") P1?

Seems like it might be difficult to estimate this one. Is it worth timeboxing "figuring out what's going on" to 0.5d, in case it turns out we're opening a can of worms?

let's timebox this to 0.5d investigation and see where to go from there