fix: include issue_reopened_via_comment in comment-wake retry-skip

The retry-skip in finalizeIssueCommentPolicy only checked for
issue_commented and issue_comment_mentioned wake reasons, missing
issue_reopened_via_comment. This could cause an unnecessary
missing-comment retry when an issue is reopened via comment.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Devin FoleyandPaperclip committed 2026-04-08 17:37:44 -07:00
1 parent d4fa594e5f
commit 2c55bbd8a6
1 file changed
+1 -1
+1 -1
View File
@@ -1998,7 +1998,7 @@ export function heartbeatService(db: Db) {
}
const wakeReason = readNonEmptyString(contextSnapshot.wakeReason);
if (wakeReason === "issue_commented" || wakeReason === "issue_comment_mentioned") {
if (wakeReason === "issue_commented" || wakeReason === "issue_comment_mentioned" || wakeReason === "issue_reopened_via_comment") {
if (run.issueCommentStatus !== "not_applicable") {
await patchRunIssueCommentStatus(run.id, {
issueCommentStatus: "not_applicable",