Handle expected_minutes=0 gracefully (defense-in-depth) #61

Merged
sascha merged 2 commits from fix/media-verify-runtime-zero-handling into main 2026-09-18 07:19:45 +02:00
Owner

Handle expected_minutes=0 (runtime unknown from Sonarr/Radarr) gracefully:

  • Pydantic: ge=0 instead of gt=0
  • Endpoint: early return with skipped=true, skip_reason='no_reference_runtime' instead of 422
  • n8n workflow: IF Runtime Known node skips verification when runtime <= 0
  • 7/7 media_verify tests pass, 86/89 total (same 3 pre-existing fails)
Handle expected_minutes=0 (runtime unknown from Sonarr/Radarr) gracefully: - Pydantic: ge=0 instead of gt=0 - Endpoint: early return with skipped=true, skip_reason='no_reference_runtime' instead of 422 - n8n workflow: IF Runtime Known node skips verification when runtime <= 0 - 7/7 media_verify tests pass, 86/89 total (same 3 pre-existing fails)
sascha added 2 commits 2026-09-18 07:19:34 +02:00
sascha merged commit f891b4859f into main 2026-09-18 07:19:45 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sascha/homelab-butler#61
No description provided.