Skip to content

fix(cup): stopgap n8n exclude to stop crash-loop (pending upstream #172) - #6

Closed
atomdeniz wants to merge 1 commit into
mainfrom
worktree-cup-n8n-crashloop-guard
Closed

fix(cup): stopgap n8n exclude to stop crash-loop (pending upstream #172)#6
atomdeniz wants to merge 1 commit into
mainfrom
worktree-cup-n8n-crashloop-guard

Conversation

@atomdeniz

Copy link
Copy Markdown
Owner

What

Adds docker.n8n.io/n8nio/n8n to cup's images.exclude as a temporary stopgap.

Why

Cup's serve runs its image scan before binding the HTTP server, and Client::request calls error!std::process::exit(1) on an unexpected registry status. docker.n8n.io (n8n's registry) returned 429 Too Many Requests, so cup exited on the startup scan and — under restart: unless-stopped — crash-looped (68 restarts observed), with each restart re-issuing the request and sustaining the rate limit. The whole cup dashboard was down.

The server was recovered by excluding n8n live; this commit makes that durable so a --tags cup deploy can't reintroduce the loop while the real fix lands.

Real fix

Submitted upstream: sergi0g/cup#172 (make unexpected statuses non-fatal — warn + Err like the existing 404/401/403/502 branches). Once a cup release includes it:

  1. Bump cup_version in roles/cup/defaults/main.yml.
  2. Remove the docker.n8n.io/n8nio/n8n exclude line here.

Draft until then.

🤖 Generated with Claude Code

Cup exit(1)'s on an unexpected registry HEAD status, so docker.n8n.io's
429s crash-loop `cup serve` (dozens of restarts, dashboard down; the
restarts sustain the rate limit). Exclude n8n from the scan as a
stopgap so a cup deploy can't reintroduce the loop.

Upstream fix submitted (sergi0g/cup#172, error! -> warn+Err). Remove
this line once running the fixed release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@atomdeniz

Copy link
Copy Markdown
Owner Author

Vazgeçildi — kapatıyorum. Canlı sunucudaki n8n-exclude stopgap duruyor, cup güvende.

@atomdeniz atomdeniz closed this Jul 4, 2026
@atomdeniz
atomdeniz deleted the worktree-cup-n8n-crashloop-guard branch July 4, 2026 17:52
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.

1 participant