Skip to content

Commit 971618e

Browse files
authored
default to max-retries: 1 (#102)
Signed-off-by: Derek Misler <derek.misler@docker.com>
1 parent 288a252 commit 971618e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

review-pr/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ runs:
780780
trusted-bot-app-id: ${{ inputs.trusted-bot-app-id }}
781781
extra-args: ${{ inputs.model && format('--model={0}', inputs.model) || '' }}
782782
add-prompt-files: ${{ inputs.add-prompt-files }}
783-
max-retries: "0" # Disable retries — the review agent recovers internally (root falls back when sub-agents fail), so retrying the pipeline produces duplicate reviews
783+
max-retries: "1" # One retry handles transient API failures (e.g. Anthropic 400s) without risking duplicate reviews from full pipeline restarts
784784
skip-summary: "true"
785785

786786
- name: Release review lock

0 commit comments

Comments
 (0)