Skip to content

Sync: toast when it stops working - #40

Merged
catchouli merged 1 commit into
mainfrom
sync-toast
Oct 29, 2026
Merged

catchouli merged 1 commit into
mainfrom
sync-toast

Conversation

@catchouli

Copy link
Copy Markdown
Owner

Since Oct 27 every sync write from the TV PC has failed ("The media is write protected" on Q:\flex), thousands of times a day in the log, with nothing on screen.

  • A toast when syncing starts failing, with the reason (e.g. "Sync isn't working: writing Q:\flex\….json.tmp: The media is write protected."). Only once: it retries every 30 seconds, and the same failure again isn't repeated.
  • A toast when it works again ("Sync is working again").
  • The log notes a repeated failure once (plus when it recovers) instead of every 30 seconds.

Tested: unit test for the notices; ran Flex with a scratch data folder and a read-only sync folder (toast shown), then made it writable (recovered within 30s, toast shown).

The TV PC's sync folder became read-only and every write failed for days
without anyone noticing. Now a toast says so (once, with the reason), another
says when it works again, and the log notes a repeated failure once instead
of every 30 seconds.
@catchouli
catchouli merged commit 87cb4d0 into main Oct 29, 2026
3 checks passed
@catchouli
catchouli deleted the sync-toast branch October 29, 2026 14:34
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