You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? localize('agentMerge.notice.enabled.withPullRequest',"Agent Merge is on for {0} and is monitoring its pull request.",appendEscapedMarkdownInlineCode(target.branchName))
313
+
: localize('agentMerge.notice.enabled',"Agent Merge is on for {0}. It will wait for a pull request on this branch, then monitor it.",appendEscapedMarkdownInlineCode(target.branchName)),
314
+
];
315
+
if(configuration.addressReviews){
316
+
lines.push(localize('agentMerge.notice.enabled.addressReviews',"It will ask the agent to address new pull request review comments."));
317
+
}
318
+
if(configuration.fixCI){
319
+
lines.push(localize('agentMerge.notice.enabled.fixCI',"It will ask the agent to fix failing CI checks."));
320
+
}
321
+
if(configuration.resolveConflicts){
322
+
lines.push(localize('agentMerge.notice.enabled.resolveConflicts',"It will ask the agent to resolve merge conflicts and update the branch when it falls behind."));
? localize('agentMerge.notice.configuration.addressReviews.enabled',"It will now address new pull request review comments.")
350
+
: localize('agentMerge.notice.configuration.addressReviews.disabled',"It will no longer address new pull request review comments or wait for them before merging."));
351
+
}
352
+
if(previous.fixCI!==current.fixCI){
353
+
changes.push(current.fixCI
354
+
? localize('agentMerge.notice.configuration.fixCI.enabled',"It will now fix failing CI checks.")
355
+
: localize('agentMerge.notice.configuration.fixCI.disabled',"It will no longer fix failing CI checks."));
? localize('agentMerge.notice.configuration.resolveConflicts.enabled',"It will now resolve merge conflicts and update the branch when it falls behind.")
360
+
: localize('agentMerge.notice.configuration.resolveConflicts.disabled',"It will no longer resolve merge conflicts or update a behind branch."));
returnlocalize('agentMerge.notice.merge.always',"When the pull request is ready, Agent Merge will merge it automatically.");
383
+
case'ifUnchanged':
384
+
returnlocalize('agentMerge.notice.merge.ifUnchanged',"When the pull request is ready, Agent Merge will merge it automatically only if it has not made changes.");
385
+
case'never':
386
+
returnlocalize('agentMerge.notice.merge.never',"It will not merge the pull request automatically and will keep monitoring it.");
returnlocalize('agentMerge.notice.configuration.merge.always',"It will now merge the pull request automatically when it is ready.");
420
+
case'ifUnchanged':
421
+
returnlocalize('agentMerge.notice.configuration.merge.ifUnchanged',"It will now merge the pull request when it is ready, but only if Agent Merge has not made changes.");
422
+
case'never':
423
+
returnlocalize('agentMerge.notice.configuration.merge.never',"It will no longer merge the pull request automatically.");
424
+
}
311
425
}
312
426
313
427
/** The transcript notice shown when the user, rather than the controller, turns Agent Merge off. */
@@ -843,10 +896,12 @@ export class AgentMergeController extends Disposable {
843
896
}
844
897
this._logService.info(`[AgentMergeController] Turning automatic merge off because a repair turn changed the worktree: session=${session}, repairBaseCommit=${agentMerge.repairBaseCommit}, currentCommit=${currentCommit??'unresolved'}`);
0 commit comments