litellm/.github
Cursor Agent e09bb065e4
fix(ci): parse gh api --paginate output as a single JSON document
str.splitlines() also splits on Unicode line separators (U+2028, U+2029)
which are valid inside JSON string values without escaping. When an open
GitHub issue title or body contained one of these characters, the
duplicate-issue check script broke the gh output mid-string and crashed
with 'Unterminated string ...' before the auto-close path could run.

gh api --paginate for an array endpoint already concatenates pages into
a single JSON array, so just parse the whole stdout once. Add a
regression test covering U+2028/U+2029 and the existing PR-filter path.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-06-06 09:09:15 +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): parse gh api --paginate output as a single JSON document 2026-06-06 09:09:15 +00:00
workflows feat(ui): generate dashboard API types from the proxy OpenAPI spec (#29816) 2026-06-05 17:20:01 -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: hand-written CLAUDE.md; point GEMINI.md and AGENTS.md at it (#29252) 2026-05-29 00:05:05 -07:00
template.yaml (chore) cleanup 2024-02-09 09:28:13 -08:00