forgejo-mcp/operation/pull
Christoph Görn 182898a2e3
fix: 🐛 request EmbeddedListCap+1 PR reviews to detect truncation
prResourceHandler called ListPullReviews with default options, so
Forgejo's server default PageSize (30 == EmbeddedListCap) silently
capped responses at the cap. The reviews_truncated/reviews_list_tool
sentinel never fired for PRs with more than 30 reviews. Same
pattern as ee1217d (status), 321b1a0 (issue comments), and 9e5b930
(PR comments).

Closes forgejo-mcp-5dz.
Closes the PR #172 review-fix umbrella (forgejo-mcp-ylb).
Ref PR #172 review https://codeberg.org/goern/forgejo-mcp/pulls/172#issuecomment-16022165
2026-05-28 16:18:20 +02:00
..
pull.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00
pull_test.go feat: bounded responses for get_pull_request_diff + get_file_content (#131) 2026-05-12 10:41:52 +02:00
resources.go fix: 🐛 request EmbeddedListCap+1 PR reviews to detect truncation 2026-05-28 16:18:20 +02:00
resources_test.go fix: 🐛 request EmbeddedListCap+1 PR reviews to detect truncation 2026-05-28 16:18:20 +02:00
review.go feat: robust stateless auth with security fixes and improved tests 2026-05-24 13:44:48 +02:00