Skip to content

Fixed: nextdns_sync prunes stale parentalControl services, exits nonzero on errors - #16

Merged
bakerboy448 merged 1 commit into
mainfrom
fix/nextdns-parental-prune
Oct 7, 2026
Merged

bakerboy448 merged 1 commit into
mainfrom
fix/nextdns-parental-prune

Conversation

@bakerboy448

Copy link
Copy Markdown
Collaborator

Summary

parentalControl PATCH never removes services and timed out at 10s on RPM every run; errors were swallowed (exit 0).

  • parentalControl timeout 10s -> 30s
  • after PATCH, GET target parentalControl and DELETE services Main lacks (/profiles/<id>/parentalControl/services/<id>)
  • exit 1 at the end if any error was logged (all profiles still attempted)

Script(s) affected

  • nextdns_sync.py

Tested live: diff + sync via the timer command, exit 0, parentalControl IN SYNC. No secrets in diff.

🤖 Generated with Claude Code

…onzero on errors

PATCH on parentalControl never removes services and timed out at 10s, and
errors were swallowed (exit 0). Raise that timeout to 30s, delete target
services Main lacks via DELETE /profiles/<id>/parentalControl/services/<id>,
and exit 1 if any error was logged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bakerboy448
bakerboy448 merged commit 710d24f into main Oct 7, 2026
1 check passed
@bakerboy448
bakerboy448 deleted the fix/nextdns-parental-prune branch October 7, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant