Skip to content

repository does not exist #1150

Description

@kmalakoff

When I perform a search like

src search --json "repo:has.file(package.json) file:package.json "some-package" count:1000"

The whole search fails for a repo that "does not exist"

GraphQL errors: {
"message": "repository does not exist: repo-name",
"path": [
"search",
"results",
"results",
309,
"file",
"content"
]

The query works with a small count before it hits an error. Is there a way for the cli to skip GraphQL errors? The query works fine within the sourcegraph webapp.

I cannot give a case to reproduce because this depends on our corporate data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions