~bigbes/sr-ht-dolt: a4194995

mcpsrv: report the projection's clip on get_issue and list_milestones

Max clips every table read at 2000 rows. list_issues has always said so
(table_truncated, table_total); the other two answers computed over the
same read said nothing, so a rollup over a prefix of the tracker read as
arithmetic about the whole of it, and an id in the tail of a big tracker
was answered "no such issue" — a claim neither read can support.

get_issue now carries the two fields on every answer and splits the
miss: a complete read keeps the plain refusal, a clipped one says the id
was not among the rows read, names the cap and the true total, and ships
the payload (issue: null beside table_truncated) so the two misses are
one field apart rather than one adjective apart. list_milestones carries
the same two fields.

Eugene Blikh <bigbes@gmail.com> — 2026-08-13 07:50:48 UTC

Commit a41949952f01c47f58cc35fbba02205afd713d41view raw patch

Parent(s): 8dfe078b

2 changed file(s)

FileStatus+
mcpsrv/beads.go M +141 -45
mcpsrv/beads_test.go M +145 -17