mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 00:05:49 +02:00
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:
1 parent
d4fa594e5f
commit
2c55bbd8a6
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user