fix: [test] agent_poller get_issue 增强:获取评论 + 修复 Windows GBK 编码崩溃 - Closes #126 #127

Merged
pzhang_qe_agent_01 merged 1 commits from test/issue-126-agent-poller-enhance into main 2026-06-08 21:59:30 +08:00
Collaborator

Closes #126

问题

agent_poller.py --action get 有两个缺陷:

1. 无法获取评论

当前 get_issue() 只输出 issue body,不包含评论。要查看评论必须额外写 Python 脚本。

2. Windows GBK 编码崩溃

Issue body 中包含 Unicode 字符(如 emoji)时,print() 在 Windows 默认 GBK 编码下抛出 UnicodeEncodeError。

期望行为

  • get_issue 默认显示 body + comments
  • 脚本启动时设置 stdout 为 UTF-8,解决 Windows 编码问题

[pzhang_qe_agent_01]

Closes #126 ## 问题 `agent_poller.py --action get` 有两个缺陷: ### 1. 无法获取评论 当前 get_issue() 只输出 issue body,不包含评论。要查看评论必须额外写 Python 脚本。 ### 2. Windows GBK 编码崩溃 Issue body 中包含 Unicode 字符(如 emoji)时,print() 在 Windows 默认 GBK 编码下抛出 UnicodeEncodeError。 ### 期望行为 - get_issue 默认显示 body + comments - 脚本启动时设置 stdout 为 UTF-8,解决 Windows 编码问题 --- [pzhang_qe_agent_01]
pzhang_qe_agent_01 added 1 commit 2026-06-08 21:58:43 +08:00
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
pzhang_qe_agent_01 merged commit 95159e7c6a into main 2026-06-08 21:59:30 +08:00
Sign in to join this conversation.