forgejo-mcp/operation/issue
Christoph Görn 321b1a0849
fix: 🐛 request EmbeddedListCap+1 issue comments to detect truncation
issueResourceHandler called ListIssueComments with default options
so Forgejo's server default PageSize (30 == EmbeddedListCap)
silently capped responses at the cap. The >cap truncation check
in resource.Bounded never fired and the recent_comments_truncated/
list_tool sentinel never surfaced for issues with more than 30
comments.

Request EmbeddedListCap+1 explicitly so Bounded can detect
over-cap. Same pattern as ee1217d for ListStatuses.

Closes forgejo-mcp-u3y.
Ref PR #172 review https://codeberg.org/goern/forgejo-mcp/pulls/172#issuecomment-16022165
2026-05-28 16:15:24 +02:00
..
issue.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
issue_test.go feat: add list_org_labels + merge org labels in list_repo_labels (#130) 2026-05-12 10:40:54 +02:00
resources.go fix: 🐛 request EmbeddedListCap+1 issue comments to detect truncation 2026-05-28 16:15:24 +02:00
resources_test.go fix: 🐛 request EmbeddedListCap+1 issue comments to detect truncation 2026-05-28 16:15:24 +02:00