openclaw/scripts/pr-lib
chenyangjun-xy 15ae1ddb93
fix(plugin-sdk): reject malformed UTF-8 in live provider model catalog responses (#111766)
* fix: reject malformed UTF-8 in live provider model catalog responses

Add { fatal: true } to TextDecoder in readLiveModelCatalogJson so
invalid UTF-8 bytes throw a TypeError before JSON.parse instead of
silently becoming U+FFFD.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(plugin-sdk): add fallback proof for malformed UTF-8 in live catalog

Adds a focused test that constructs raw bytes with an invalid 0xFE byte
inside a JSON string value and validates that buildLiveModelProviderConfig
catches the Typeerror and falls back to the static catalog rows.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(pr): classify auto-merge failures without ripgrep

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-27 18:03:09 -04:00
..
changelog.sh
ci-dispatch.mjs chore(pr): warn when ci-dispatch targets a remote head behind local work (#111694) 2026-07-19 23:24:29 -07:00
common.sh fix(scripts): survive pr worktree teardown in lock release and self-heal stale registrations (#108870) 2026-07-16 03:13:44 -07:00
gates.sh fix(pr): rebuild stale prep branches after head changes (#112510) 2026-07-21 21:57:56 -07:00
merge.sh fix(plugin-sdk): reject malformed UTF-8 in live provider model catalog responses (#111766) 2026-07-27 18:03:09 -04:00
operation-lock.sh chore(pr): landing-UX — aggregated validation, lock classes, ci-dispatch, committer guard (#111287) 2026-07-19 02:09:55 -07:00
prepare-core.sh fix: make auto-review and PR triage fail safely (#114745) 2026-07-27 17:11:28 -04:00
process-group-runner.mjs chore(pr): landing-UX — aggregated validation, lock classes, ci-dispatch, committer guard (#111287) 2026-07-19 02:09:55 -07:00
push.sh fix(ci): harden release validation gates (#108798) 2026-07-16 03:21:08 -07:00
review-artifacts.mjs fix: make auto-review and PR triage fail safely (#114745) 2026-07-27 17:11:28 -04:00
review.sh fix: make auto-review and PR triage fail safely (#114745) 2026-07-27 17:11:28 -04:00
worktree.sh fix(pr): keep landing mutations inside the dedicated PR worktree (#114723) 2026-07-27 16:04:52 -04:00