Skip to content

Exempt pinned decluttarr from Watchtower auto-updates#40

Merged
joshdev8 merged 1 commit into
mainfrom
chore/decluttarr-watchtower-exempt
May 13, 2026
Merged

Exempt pinned decluttarr from Watchtower auto-updates#40
joshdev8 merged 1 commit into
mainfrom
chore/decluttarr-watchtower-exempt

Conversation

@joshdev8
Copy link
Copy Markdown
Owner

@joshdev8 joshdev8 commented May 13, 2026

Summary

Adds the `com.centurylinklabs.watchtower.enable=false` label to the `decluttarr` service so Watchtower won't try to update it.

Why

`decluttarr` is pinned to `v1.50.2` (see PR #38) because v2 (Nov 2025) replaced `RADARR_URL`/`RADARR_KEY`/`SONARR_URL`/`SONARR_KEY`/`REMOVE_TIMER`/`REMOVE_FAILED` with structured `RADARR`/`SONARR` blocks that mandate `api_key` — which breaks the blank-keys-on-first-boot workflow this service is configured around.

For an immutable tag like `v1.50.2`, Watchtower today won't actually do anything (it pulls by digest and `v1.50.2`'s digest is stable). The label is documentation of intent — a guard that survives a future re-tag, or someone changing this service to `:latest` without realising why the pin existed.

Test plan

  • `docker compose config` validates and renders `com.centurylinklabs.watchtower.enable: "false"` on the decluttarr service
  • Bring the stack up and confirm Watchtower's logs show decluttarr as skipped on its next scan

Summary by CodeRabbit

  • Chores
    • Updated service configuration to prevent automatic updates to the application container.

Review Change Stack

decluttarr is pinned to v1.50.2 because v2 (Nov 2025) replaced the env
var schema with structured RADARR/SONARR blocks that mandate api_key,
breaking the blank-keys-on-first-boot UX. Add the Watchtower
opt-out label so a future re-tag of v1.50.2 (or accidental tag change
in this compose) can't silently undo the pin.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 04f3c377-a37f-4df5-b539-48d3173c0c2b

📥 Commits

Reviewing files that changed from the base of the PR and between fe365ba and 14dff61.

📒 Files selected for processing (1)
  • docker-compose.yml

📝 Walkthrough

Walkthrough

This PR adds a Watchtower exclusion label to the decluttarr service in the Docker Compose configuration, preventing automatic container updates and respecting the pinned image version.

Changes

Watchtower Configuration

Layer / File(s) Summary
Decluttarr Watchtower exclusion label
docker-compose.yml
Decluttarr service gains a labels block with com.centurylinklabs.watchtower.enable=false, preventing Watchtower from updating this pinned container.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit's tale of pinned containers bright,
Where Watchtower pauses, respects what's right,
One label whispers, "do not update me,"
Decluttarr stays safe and stable as can be! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately and clearly describes the main change: adding a Watchtower exemption label to the pinned decluttarr service in docker-compose.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/decluttarr-watchtower-exempt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@joshdev8 joshdev8 merged commit 6df412f into main May 13, 2026
4 checks 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.

1 participant