sourcegraph/sourcegraph-public-snapshot

URL inserted into repositoriesMatchingQuery entry in batch spec returns 0 match

Offen

#28.321 geöffnet am 29.11.2021

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.374 Forks)auto 404
batch-changesgood first issue

Repository-Metriken

Stars
 (10.290 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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