litellm/.github
Cursor Agent c9adb3f72c
fix(ci): make Check Duplicate Issues robust to Unicode separators in issue bodies
The 'Check Duplicate Issues' workflow has been failing with
  json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 2792467
whenever an open issue body contains a Unicode line/paragraph separator
(U+2028 / U+2029).

Root cause: fetch_open_issues() called 'gh api --paginate' and then
str.splitlines() on the raw output. gh concatenates JSON pages without
any separator (...][...), so the entire output is one logical line --
unless a U+2028/U+2029 character inside a string body trips splitlines(),
which splits mid-JSON-string and yields an unterminated array fragment.

Switch to 'gh issue list --json number,title --state open --limit 100000'
which returns a single well-formed JSON array and already excludes pull
requests, removing both pitfalls in one go.

Verified locally: the script now fetches 1355 open issues and runs the
single-issue and --scan modes without errors.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-05-21 03:10:40 +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): make Check Duplicate Issues robust to Unicode separators in issue bodies 2026-05-21 03:10:40 +00:00
workflows feat(tests): behavior-pinning harness + Key Tier-1 matrix (#28321) 2026-05-20 19:27:44 -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