From aebda221f0ad36430cceb942ef31926638d094ba Mon Sep 17 00:00:00 2001 From: openhands Date: Sat, 21 Mar 2026 11:45:03 +0000 Subject: [PATCH] fix: file-action-issue.sh dedup check: paginate or raise limit beyond 50 (#383) Replace codeberg_api GET with codeberg_api_all for the dedup fetch, which paginates through all open action issues instead of capping at 50. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/file-action-issue.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file-action-issue.sh b/lib/file-action-issue.sh index f9458b5..b49d1c2 100644 --- a/lib/file-action-issue.sh +++ b/lib/file-action-issue.sh @@ -24,7 +24,7 @@ file_action_issue() { # Dedup: skip if an open action issue for this formula already exists local open_actions - open_actions=$(codeberg_api GET "/issues?state=open&type=issues&labels=action&limit=50" 2>/dev/null || true) + open_actions=$(codeberg_api_all "/issues?state=open&type=issues&labels=action" 2>/dev/null || true) if [ -n "$open_actions" ] && [ "$open_actions" != "null" ]; then local existing existing=$(printf '%s' "$open_actions" | \