Do not print 'This run croaked' if the agent only replies in a PR review comment
This commit is contained in:
@@ -98726,6 +98726,7 @@ function ReplyToReviewCommentTool(ctx) {
|
|||||||
comment_id,
|
comment_id,
|
||||||
body: bodyWithFooter
|
body: bodyWithFooter
|
||||||
});
|
});
|
||||||
|
progressCommentWasUpdated = true;
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
commentId: result.data.id,
|
commentId: result.data.id,
|
||||||
|
|||||||
@@ -473,6 +473,9 @@ export function ReplyToReviewCommentTool(ctx: ToolContext) {
|
|||||||
body: bodyWithFooter,
|
body: bodyWithFooter,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// mark progress as updated so ensureProgressCommentUpdated doesn't think the run failed
|
||||||
|
progressCommentWasUpdated = true;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
commentId: result.data.id,
|
commentId: result.data.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user