Commit Graph

5 Commits

Author SHA1 Message Date
Piers Cockram
c0a66add46 systemd: bump breakglass-sync TimeoutStartSec 1h→16h, MemoryMax 1G→4G
Source-of-truth had drifted from /etc/systemd/system/breakglass-sync.service
on the deployed VM (installed had 8h timeout, source had 1h). My hot-patch
on 2026-05-15 raised the running unit to 16h + 4G after the service kept
timing out at 8h during full-fleet sync runs (large LFS objects + GitHub
intermittent failures across ~hundreds of repos).

Realigning source to match installed values + headroom for slow days.
Current run after the bump: Memory peak 1.0G against the new 4G ceiling
(vs would-have-OOMed at the old 1G limit).
2026-05-16 08:29:49 +10:00
mineracks
2b99fb8bb4 feat: wiki mirroring + release asset downloads
- Wiki: clones {repo}.wiki.git, pushes to Gitea (renders natively)
- Releases: downloads latest N releases per repo (RELEASE_KEEP=3)
  including all binary assets + source archives (tar.gz, zip)
- Release metadata (name, prerelease flag) preserved
- Assets uploaded to matching Gitea releases via API
- Both features toggleable via SYNC_WIKIS and SYNC_RELEASES env vars
- Skips repos with no wiki/releases silently
2026-04-02 15:12:02 +10:00
mineracks
a2bfbcdfaa fix: time-box LFS to 10min/repo, prevent buildroot blocking seedhammer
seedsigner/buildroot LFS push was taking hours, hitting the systemd
timeout, causing restart loop that never reached seedhammer.

- LFS fetch/push now wrapped in timeout (LFS_TIMEOUT=600s default)
- Systemd timeout raised to 8h for safety
- Git refs always push first (the critical data), LFS is best-effort
2026-04-01 14:52:10 +10:00
mineracks
a1d28e0d8c feat: autopilot systemd timers + ntfy push notifications
- Sync timer: daily at 02:00 AEST + on boot
- Healthcheck timer: daily at 08:00 AEST
- Service timeout raised to 4h for large repos
- Restart on failure with 5 min backoff
- ntfy.sh push notifications with priority levels:
  - urgent: wipe detection (red alert)
  - high: sync errors
  - low: successful sync summary
  - healthcheck results with stethoscope tag
- All notifications work via free ntfy.sh (no SMTP needed)
2026-03-31 12:58:57 +10:00
mineracks
f862776e2a Breakglass FOSS Git Mirror v2 — append-only, tamper-resistant 2026-03-30 21:16:24 +10:00