src-cli icon indicating copy to clipboard operation
src-cli copied to clipboard

Repository Query does not match search

Open Piszmog opened this issue 1 year ago • 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.

Piszmog avatar Oct 18 '22 18:10 Piszmog

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?

chrispine avatar Oct 19 '22 22:10 chrispine

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?

courier-new avatar Oct 20 '22 03:10 courier-new

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

chrispine avatar Oct 20 '22 16:10 chrispine