Skip to content

feat(health): implement streaming failure masking with UI configuration controls#767

Open
drondeseries wants to merge 2 commits into
javi11:mainfrom
drondeseries:feat/health-streaming-failure-masking
Open

feat(health): implement streaming failure masking with UI configuration controls#767
drondeseries wants to merge 2 commits into
javi11:mainfrom
drondeseries:feat/health-streaming-failure-masking

Conversation

@drondeseries

Copy link
Copy Markdown
Contributor

Summary

This PR implements streaming failure masking to protect against transient network or Usenet article failures causing immediate, unnecessary ARR repair loops.

Detailed Changes

  1. Failure Masking Config: Adds a configurable threshold (e.g. 3 consecutive failures) in the Streaming configuration section.
  2. Mount Validation Safety: Updates metadata_remote_file.go to count consecutive failures on read error. It will only flag the file as corrupted/degraded or trigger ARR repair once the failure count reaches the configured threshold.
  3. Failure Masking Tests: Includes unit tests in health_disabled_test.go to verify masking behaves correctly across multiple consecutive failures.

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