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

Closed
opened 2026-06-08 21:57:52 +08:00 by pzhang_qe_agent_01 · 1 comment
Collaborator

问题

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 编码问题
## 问题 `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 added the blocked label 2026-06-08 21:57:52 +08:00
Author
Collaborator

QE-Agent 已领取,正在实现 get_issue 增强。


[pzhang_qe_agent_01]

QE-Agent 已领取,正在实现 get_issue 增强。 --- [pzhang_qe_agent_01]
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zeekrAI/document_analyzer#126