devbox/internal/daemon
shoemoney 56b8be924b fix(daemon): stagger rescans, guard jitter panic, tighten backoff reset 🔁⚙️
- rescan tickers for all mounts started in lockstep, so every 60s they rebuilt
  manifests simultaneously (self-synchronized load spike on big trees). Stagger
  the first tick by a random offset.
- jittered() called rand.Int63n(int64(d/2)) which panics for sub-2ns durations
  (d/2==0). Guard it. (Latent: a panic in a recover-less goroutine.)
- healthyStream was 2min — 4x larger than typical SSE recycle (~30-60s), so a
  recycled-but-healthy stream never reset backoff and sat at the 30s ceiling.
  Lowered to 20s. Regression test for the jitter panic.
2026-06-23 02:38:46 -05:00
..
backoff.go fix(daemon): stagger rescans, guard jitter panic, tighten backoff reset 🔁⚙️ 2026-06-23 02:38:46 -05:00
backoff_test.go fix(daemon): stagger rescans, guard jitter panic, tighten backoff reset 🔁⚙️ 2026-06-23 02:38:46 -05:00
daemon.go fix(daemon): stagger rescans, guard jitter panic, tighten backoff reset 🔁⚙️ 2026-06-23 02:38:46 -05:00
daemon_test.go feat(M3): live two-way sync — SSE fan-out + daemon + mount 🔄 2026-06-23 00:12:39 -05:00