Skip to content

fix(swarm): retry failed tasks 5 times, 60s apart - #260

Merged
buzz-code merged 1 commit into
mainfrom
claude/swarm-ghcr-expired-creds-2j36k8
Nov 4, 2026
Merged

buzz-code merged 1 commit into
mainfrom
claude/swarm-ghcr-expired-creds-2j36k8

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

restart_policy in docker-compose-swarm.yml goes from max_attempts: 3, delay: 5s to max_attempts: 5, delay: 60s.

After a node restarts, image pulls can fail for a few minutes. On 2026-11-04 a rescheduled task used up all 3 retries inside that window, and the service stayed down for about 2 hours. 5 attempts 60s apart cover about 5 minutes.

Applies after "Pull and redeploy" of the Portainer stack. No image rebuild.

Refs buzz-code/ops#31


Generated by Claude Code

After a node restarts, image pulls can fail for a few minutes. With
max_attempts 3 and 5s delay, a rescheduled task used up all retries
in that window and the service stayed down. 5 attempts 60s apart
cover about 5 minutes.

Refs buzz-code/ops#31

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GTicuLHoZVhu892FpPTnw
@buzz-code
buzz-code merged commit ac6c01b into main Nov 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants