fix(personal-dev): 结束 Gitea 短页评论翻页 (#57)

Merge pull request #58 from cursor/issue-57-gitea-pagination

#57
This commit was merged in pull request #58.
This commit is contained in:
cykj committed 2026-11-05 09:00:54 +00:00
commit 8717702b58
1 file changed
+4
@@ -240,6 +240,10 @@ class Tracker:
if not value:
return records
records.extend(value)
# Gitea comment pages may ignore page and keep returning the same short
# list; a short page is the conventional last-page signal.
if len(value) < PAGE_SIZE:
return records
raise InstallError('issue tracker pagination limit exceeded')
def issues(self):