devbox/internal/daemon
shoemoney 5bfccdb297 fix(M7): review fixes — pidfile O_EXCL, publish race, backoff reset 🐛
Code-review pass on M6.5+M7:
- pidfile: claim via O_CREATE|O_EXCL and arbitrate live-vs-stale, so two
  `devbox start` invocations can't both win the guard and run concurrently
- hub: serialize publish (publishMu) so a case-clash check + create is atomic;
  reject share names ending in '.' (Windows strips it → silent collision)
- daemon: reset SSE backoff only after a genuinely healthy stream (2m), not the
  30s ceiling, so a hub that recycles connections doesn't pin a 30s event lag
- document that restore/deploy's delete pass is ignore/guard-filtered on purpose
  (never delete a user's gitignored runtime files or local secrets)
- test: pidfile claim/refuse/stale-reclaim arbitration
2026-06-23 01:37:58 -05:00
..
backoff.go fix(M7): review fixes — pidfile O_EXCL, publish race, backoff reset 🐛 2026-06-23 01:37:58 -05:00
backoff_test.go feat(M7): devbox doctor, stop, and hook edit/list 🩺⏹️🪝 2026-06-23 01:30:49 -05:00
daemon.go fix(M7): review fixes — pidfile O_EXCL, publish race, backoff reset 🐛 2026-06-23 01:37:58 -05:00
daemon_test.go feat(M3): live two-way sync — SSE fan-out + daemon + mount 🔄 2026-06-23 00:12:39 -05:00