litellm/.github/scripts
Cursor Agent 07901a58ba
fix(ci): stream duplicate-issue payload via jq to avoid 15MB blob parse
The check-duplicate workflow's script called gh api --paginate on the full
issues endpoint and then json.loads the response. Older gh CLI versions
concatenate paginated arrays without a valid separator, and even on newer
versions the response is a single ~15MB blob that intermittently failed
to parse in CI with 'Unterminated string' at char 902748 (truncation or
buffering). Switch to jq streaming so each issue is a small self-contained
JSON object per line, and only fetch the two fields the dedup logic uses
(number, title) plus an is_pr marker. Payload drops to ~280KB and parsing
is robust to per-line failures.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-07-21 08:12:50 +00:00
..
_agent_shin_actions.py feat(agent-shin): automated PR/issue triage, low-quality auto-close, and review-gate label lifecycle (#30433) 2026-06-17 20:42:27 -07:00
agent_shin_shared.py feat(agent-shin): automated PR/issue triage, low-quality auto-close, and review-gate label lifecycle (#30433) 2026-06-17 20:42:27 -07:00
close_duplicate_issues.py fix(ci): stream duplicate-issue payload via jq to avoid 15MB blob parse 2026-07-21 08:12:50 +00:00
close_low_quality_prs.py feat(agent-shin): automated PR/issue triage, low-quality auto-close, and review-gate label lifecycle (#30433) 2026-06-17 20:42:27 -07:00
scan_keywords.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
triage-requirements.txt feat(agent-shin): automated PR/issue triage, low-quality auto-close, and review-gate label lifecycle (#30433) 2026-06-17 20:42:27 -07:00
triage_rollout_heads_up.py feat(agent-shin): automated PR/issue triage, low-quality auto-close, and review-gate label lifecycle (#30433) 2026-06-17 20:42:27 -07:00
triage_with_llm.py feat(agent-shin): automated PR/issue triage, low-quality auto-close, and review-gate label lifecycle (#30433) 2026-06-17 20:42:27 -07:00
uv_sync_with_retries.sh ci: harden cargo fetches during maturin builds (#31348) 2026-06-25 14:31:05 -07:00