chore(agents): 同步 personal-dev 单元测试合入与 task-next

把合入门槛改为受影响代码的单元测试,并补充只读 task-next 入口与确认问题展示规则。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-11-09 11:37:41 +08:00
1 parent 49e36e0bbb
commit 3d9a71da46
24 files changed
+321 -132

No files matched your search

@@ -240,9 +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:
# Gitea comment pages end when a page is shorter than the limit.
# The following request is not a reliable empty page.
if (self.kind == 'gitea' and suffix.endswith('/comments')
and len(value) < PAGE_SIZE):
return records
raise InstallError('issue tracker pagination limit exceeded')