You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P2] Handle incomplete UTF-8 at byte-truncated pod log boundaries #17
The upstream report on client 36.0.3 describes UnicodeDecodeError when read_namespaced_pod_log() preloads a response and limit_bytes cuts a multibyte UTF-8 character. The original report points to an older response-decoding path, so first reproduce on the current client and identify the current decoder.
Define and document an appropriate policy for incomplete trailing characters in pod logs. Avoid globally ignoring arbitrary invalid data or changing unrelated structured-response decoding.
Acceptance criteria:
Test a byte limit splitting a multibyte character and a complete UTF-8 response.
Preserve streaming/raw-byte access and unrelated API response behavior.
If the current client is already unaffected, record reproducible evidence instead of introducing a speculative fix.
Clarification to the original assignment: this task's designated agent/base branch is agent/p2-issue-17. Raise/target the PR against that branch, not master; the existing draft PR has been retargeted accordingly. Keep the requested commit order: first a test-only commit demonstrating the issue, then a separate fix commit only if reproduced. If it does not reproduce, leave the evidence/test commit and explain why no fix is appropriate.
Activity
brendandburns commentedon Nov 19, 2026
Clarification to the original assignment: this task's designated agent/base branch is
agent/p2-issue-17. Raise/target the PR against that branch, notmaster; the existing draft PR has been retargeted accordingly. Keep the requested commit order: first a test-only commit demonstrating the issue, then a separate fix commit only if reproduced. If it does not reproduce, leave the evidence/test commit and explain why no fix is appropriate.