Skip to content

Fix surrogate pair splitting when truncating issue telemetry - #4841

Open
localzet wants to merge 1 commit into
actions:mainfrom
localzet:fix/issue-4834-surrogate-safe-telemetry
Open

localzet wants to merge 1 commit into
actions:mainfrom
localzet:fix/issue-4834-surrogate-safe-telemetry

Conversation

@localzet

@localzet localzet commented Nov 6, 2026

Copy link
Copy Markdown

Prevents worker crashes caused by truncating issue messages in the middle of UTF-16 surrogate pairs.

Adds a shared truncation helper and regression tests for the 4096-character annotation limit and 256-character telemetry limit.

Validation: 8 regression tests and 1173 full-suite tests passed.

Fixes #4834

@localzet
localzet requested a review from a team as a code owner November 6, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Worker crashes with EncoderFallbackException when telemetry truncation splits a surrogate pair

1 participant