Skip to content

include new EncryptedClips folder - #1056

Open
KODIKAS-NL wants to merge 1 commit into
marcone:main-devfrom
KODIKAS-NL:main-dev
Open

include new EncryptedClips folder#1056
KODIKAS-NL wants to merge 1 commit into
marcone:main-devfrom
KODIKAS-NL:main-dev

Conversation

@KODIKAS-NL

Copy link
Copy Markdown

Hi, I made some changes to take into account the new EncryptedClips folder in snapshot and archiveloop

reasonablefaith pushed a commit to reasonablefaith/teslausb that referenced this pull request Jul 5, 2026
…alth improvements, config validation

QA fixes:
- Fix 'local' keyword used outside function in archive-clips.sh (Q1)
- Remove bc dependency in health.sh, use bash arithmetic (Q2)
- Fix wall-clock timeout: use date +%s instead of sleep counter (Q3)
- Fix archive-filter.sample regex to match flat RecentClips paths (Q5)

Architecture improvements:
- Add ARCHIVE_REACHABLE_TIMEOUT (mirrors unreachable timeout) (A1)
- Both wait functions now use wall-clock epoch for accurate timing

Community-driven improvements:
- Add EncryptedClips folder support (ARCHIVE_ENCRYPTEDCLIPS) (C1, PR marcone#1056)
- Log warning when 'Archived 0 files' despite non-empty file list (C5, issues marcone#623 marcone#941)

Health endpoint enhancements:
- Add archiveloop.stuck detection (last log > 600s old) (O5)
- Add archiveloop.recent_error_count from last 100 log lines (O5)
- Add archiveloop.secs_since_last_log for monitoring (O5)
- Nested archiveloop object in JSON response

New tools:
- tools/validate-config.sh: pre-flight config validation (O1)
  checks archive vars, SSH keys, reachability, notifications, keep-awake

Config sample:
- Document ARCHIVE_REACHABLE_TIMEOUT, ARCHIVE_ENCRYPTEDCLIPS
- Document config validation tool

All changes backward compatible — new variables default to 0/false.
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