Skip to content

source-control:babysit-prs: fetch-all-pr-comments.sh output needs PYTHONUTF8=1 to parse on Windows (emoji/cp1252 mismatch) #597

Description

@kyle-sexton

Lane: babysit (safe/gate tier), observed on #568.

fetch-all-pr-comments.sh JSON output failed to parse for a downstream Python consumer on this Windows machine until PYTHONUTF8=1 was set — root cause is Windows' default cp1252 stdout/stdin encoding choking on emoji/non-ASCII bytes (badge images, bot reaction emoji, etc.) commonly present in bot review comments (codex P1/P2 badges, claude[bot] reactions).

Category: bug (cross-platform). Expected: the script's own docs should either note the PYTHONUTF8=1 requirement for Windows consumers, or the script/its consumers should set it internally so callers don't have to discover it per-session.

Work-class: C3 (bug-fix-shaped) — attended triage 2026-07-23, operator-ratified. 🤖

Metadata

Metadata

Assignees

Labels

agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.work-class: scopedA briefed fix or small feature; blast radius bounded by the brief, tests exist.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions