mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
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> |
||
|---|---|---|
| .. | ||
| actions | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| CODEOWNERS | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||