Describe the bug
Seeing false positives when using the repo: search filter
To reproduce
I'm not sure how to provide a simple repro for this, as it depends on our repositories. We have hundreds of repositories, organized into different GitLab groups, e.g. digitaldomain/domains/lighting/foo.git and digitaldomain/domains/animation/bar.git
When I try to filter based on certain paths, I'm getting false positives. It's not consistent, some searches work, but others do not.
E.g. repo:domains/lighting file:manifest.yaml should (IMO) only show manifest.yaml from repositories inside digitaldomain/domains/lighting. It includes those repositories, but I'm also getting two false hits that don't in any way match: digitaldomain/domains/core/coresoftware/dpa_web_console and a repo in digitaldomain/domains/core/pipeline (I can't give the repo name, as it's confidential, but it doesn't contain "domains" or "lighting" in the repo name).
I'm only getting those two false positives, not the hundreds of other repositiories under /digitaldomain.
If I use repo:lighting file:manifest.yaml, I get all the repositories under digitaldomain/domains/lighting (good, expected), any repository with "lighting" in its repo name (good, expected), but I also get the same two false positives as before.
If I use repo:digitaldomain/domains/lighting, I only get repositories under digitaldomain/domains/lighting, and do not get the two false positives.
I also get false positives with repo:domains/anim (including repositories that aren't even under digitaldomain/domains, but are under other top-level groups (i.e. digitaldomain/foo) and repo:domains/layout.
Not every search term is giving me false positives, many work as expected.
Sourcebot deployment information
v4.10.29 (081dc67)
Additional information
No response
Describe the bug
Seeing false positives when using the
repo:search filterTo reproduce
I'm not sure how to provide a simple repro for this, as it depends on our repositories. We have hundreds of repositories, organized into different GitLab groups, e.g.
digitaldomain/domains/lighting/foo.gitanddigitaldomain/domains/animation/bar.gitWhen I try to filter based on certain paths, I'm getting false positives. It's not consistent, some searches work, but others do not.
E.g.
repo:domains/lighting file:manifest.yamlshould (IMO) only show manifest.yaml from repositories insidedigitaldomain/domains/lighting. It includes those repositories, but I'm also getting two false hits that don't in any way match:digitaldomain/domains/core/coresoftware/dpa_web_consoleand a repo indigitaldomain/domains/core/pipeline(I can't give the repo name, as it's confidential, but it doesn't contain "domains" or "lighting" in the repo name).I'm only getting those two false positives, not the hundreds of other repositiories under
/digitaldomain.If I use
repo:lighting file:manifest.yaml, I get all the repositories underdigitaldomain/domains/lighting(good, expected), any repository with "lighting" in its repo name (good, expected), but I also get the same two false positives as before.If I use
repo:digitaldomain/domains/lighting, I only get repositories underdigitaldomain/domains/lighting, and do not get the two false positives.I also get false positives with
repo:domains/anim(including repositories that aren't even underdigitaldomain/domains, but are under other top-level groups (i.e.digitaldomain/foo) andrepo:domains/layout.Not every search term is giving me false positives, many work as expected.
Sourcebot deployment information
v4.10.29 (081dc67)
Additional information
No response