litellm/.github
Cursor Agent 1672e94901
fix(ci): use jq filter in close_duplicate_issues to avoid JSON parse error
The script previously called `gh api --paginate` and split the raw
response on newlines before json.loads()'ing each line. This is unsafe
because each page is a JSON array on a single conceptual line, and any
issue `body` field containing literal newlines makes splitlines() cut
the JSON apart, producing fragments that fail with
`Unterminated string starting at: line 1 column ...`.

Pass `--jq '.[]'` so gh emits each issue as a single compact JSON
object per line (with embedded newlines escaped). The loop then parses
one object per line safely.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-05-21 22:12:07 +00:00
..
codeql [Infra] Improve CodeQL scanning coverage and schedule 2026-03-27 12:04:09 -07:00
ISSUE_TEMPLATE docs: document new github + gitlab ci scripts 2026-03-25 20:17:10 -07: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): use jq filter in close_duplicate_issues to avoid JSON parse error 2026-05-21 22:12:07 +00:00
workflows Litellm oss staging 04 21 2026 2 (#26569) 2026-05-20 21:25:19 -07:00
dependabot.yaml chore: fixes 2026-04-05 01:30:57 -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: update pull_request_template to add Linear ticket mentioning 2026-04-27 17:31:03 -07:00
template.yaml (chore) cleanup 2024-02-09 09:28:13 -08:00