litellm/.github
Cursor Agent b2376e8359
fix(ci): parse gh api --paginate output as NDJSON in close_duplicate_issues
The old fetch_open_issues assumed gh api --paginate emitted one JSON value
per line and split on newlines before calling json.loads. In reality gh
--paginate concatenates the raw JSON array response bodies (with embedded
whitespace/newlines), so any body large enough to contain a real newline
inside a string field left json.loads to parse a truncated slice, blowing
up with 'Unterminated string starting at ...'. Every issues-triggered
Check Duplicate Issues run has been failing because of this.

Fix by asking gh to unwind each page with --jq '.[]', which emits exactly
one JSON object per line and paginates safely, then json.loads each line.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-07-22 10:06:31 +00:00
..
actions fix(ci): retry setup-uv installs to survive transient manifest fetch failures 2026-07-14 14:41:36 -07:00
codeql [Infra] Improve CodeQL scanning coverage and schedule 2026-03-27 12:04:09 -07:00
ISSUE_TEMPLATE docs(issue-template): ask for a numbered list of reproduction steps (#34207) 2026-07-22 01:04:25 +00:00
observatory Add observatory test workflow for RC/stable releases 2026-03-01 15:30:09 -03:00
screenshots fix(team_endpoints): auto-add SSO team members to org on move (proxy admin only) (#26377) 2026-04-24 08:36:25 -07:00
scripts fix(ci): parse gh api --paginate output as NDJSON in close_duplicate_issues 2026-07-22 10:06:31 +00:00
workflows Merge pull request #34166 from BerriAI/litellm_lit_4562_weekly_anomaly_load_test 2026-07-21 21:02:36 -07:00
CODEOWNERS chore(codeowners): exempt generated schema.d.ts from UI ownership 2026-07-15 10:32:01 -07:00
dependabot.yaml chore: fixes 2026-04-05 01:30:57 -07:00
deploy-on-aws.png feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
deploy-on-gcp.png feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
deploy-to-aws.png Add files via upload 2023-10-25 16:33:53 -07:00
FUNDING.yml Update FUNDING.yml 2023-09-22 09:51:35 -07:00
pull_request_template.md docs: cap PR template TLDR bullets at one short line 2026-07-21 17:44:02 -07:00
template.yaml (chore) cleanup 2024-02-09 09:28:13 -08:00