Skip to content

feat(import): add fast-fail segment checks#655

Merged
javi11 merged 4 commits into
mainfrom
feat/import-fast-fail-segments
Jun 6, 2026
Merged

feat(import): add fast-fail segment checks#655
javi11 merged 4 commits into
mainfrom
feat/import-fast-fail-segments

Conversation

@javi11

@javi11 javi11 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add import.fast_fail_segment_checks to stat a configurable random sample of eligible media/archive NZB segments before import processing.
  • Fail NZB-backed imports early when a selected segment is unreachable, while leaving the check disabled by default.
  • Expose the setting through the config API, sample config, and frontend import settings.

Test Plan

  • go test ./internal/importer/validation -count=1
  • go test ./internal/config -count=1
  • go test ./internal/api -count=1
  • go test ./internal/importer/... -count=1
  • bunx tsc --noEmit

@javi11 javi11 force-pushed the feat/import-fast-fail-segments branch from 73c1128 to d03f001 Compare June 3, 2026 16:42
@javi11 javi11 merged commit 4f3cef1 into main Jun 6, 2026
2 checks passed
@javi11 javi11 deleted the feat/import-fast-fail-segments branch June 6, 2026 22:30
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