sourcegraph/sourcegraph-public-snapshot

URL inserted into repositoriesMatchingQuery entry in batch spec returns 0 match

Open

#28,321 opened on Nov 29, 2021

 (3 comments) (0 reactions) (0 assignees)Go (1,374 forks)auto 404
batch-changesgood first issue

Repository metrics

Stars
 (10,290 stars)
PR merge metrics
 (PR metrics pending)

Description

Steps to reproduce:

  1. Create a batch spec
  2. Run a search query on the UI, and then copy the URL of that search, instead of the query itself, into the repositoriesMatchingQuery entry of the batch spec
  3. Run src batch preview -f quicktest.batch.yaml

Expected behavior:

An error message like Unexpected query passed

Actual behavior:

Returns 0 matches. Check image below image (4)

Contributor guide