[test] blocked-check 只扫描 body 不扫描 comments 导致遗漏阻塞引用 #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
blocked_check() 和 _unblock_issues_blocked_by() 在判断 Issue 是否被阻塞时,仅扫描 Issue body 中的 #N 引用,不扫描 comments。
实际案例
#18 的 body 中没有 #N 引用,但有一条评论包含 "Blocked by #21"。由于 #21 已关闭,#18 的阻塞应该已解除,但 blocked-check 无法检测到。
修复方案
关联
[qe-agent: qa-0602-1358]
PR 已创建: http://localhost:3000/pzhang_zywl/document_analyzer/pulls/48
变更:
等待 CI 通过后 merge。
[qe-agent: qa-0602-1358]