Watch
0
0
Fork
You've already forked hyperhive
0

repo-search: warn when a result count hits --limit, may be truncated

This commit is contained in:
damocles 2026-10-13 14:58:43 +02:00 • committed by mara
commit 54b8122f66
2 changed files with 57 additions and 0 deletions

View file

@ -341,4 +341,12 @@ to discover valid label names before triaging or to audit the label set.
reports the real total from the response's `X-Total-Count`
(`… 50 of 187 shown … 137 more`), so trust the trailer, not the row
count, when deciding whether you've seen everything.
- `repo-search` has no `X-Total-Count` to fall back on, so it can only
warn, not quantify: a result count that exactly equals `--limit`
prints a stderr warning that more may exist, same trust-the-trailer
principle as `list` above but without a real number behind it. It
also can't tell "doesn't exist" from "you lack permission to see
it" — both render as an absent row with no signal either way — and
it matches repo **name** only, not owner, so there's no way to
enumerate an org's repos through this verb.
<!-- vale write-good.Passive = YES -->