feat: add optional mirror server config #5

Merged
serversdown merged 2 commits from feat/mirror-dual-send into dev 2026-06-25 01:42:30 -04:00
Owner
No description provided.
serversdown added 2 commits 2026-06-25 01:42:21 -04:00
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Optional second destination so each heartbeat and event is posted to a
mirror server (the office NAS) alongside the primary — dual-write to
de-risk the migration. Default off (blank mirror URLs); existing installs
unchanged.

- event_forwarder: mirror_reachable() fast-fail probe + mirror_forward_pass()
  (reliable event mirror with its OWN state file, total exception isolation,
  never raises into the primary path).
- series4_ingest: mirror_api_url/mirror_sfm_url/mirror_sfm_state_file config;
  best-effort heartbeat mirror; isolated event-mirror pass after the primary.
- settings dialog: new 'Mirror' tab.
- 9 new tests incl. the isolation invariant (down mirror = fast no-op that
  never touches primary state). 42 passing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
serversdown merged commit 3dadac4bcb into dev 2026-06-25 01:42:30 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: serversdown/thor-watcher#5