Skip to content

refactor(cli): unify daemon lifecycle management - #71

Merged
birdmanmandbir merged 5 commits into
mainfrom
fix/sync-daemon-shutdown
Aug 13, 2026
Merged

refactor(cli): unify daemon lifecycle management#71
birdmanmandbir merged 5 commits into
mainfrom
fix/sync-daemon-shutdown

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace legacy sync daemon lifecycle commands with a foreground daemon owned by launchd/systemd user services
  • add advisory ownership locking, independent service/application status, logs, and authentication-owned install/uninstall
  • bound SIGINT/SIGTERM shutdown, supervise PowerSync actors, and preserve platform diagnostics
  • document daemon recovery and lifecycle behavior

Verification

  • cargo test --workspace
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo fmt --all --check
  • daemon process tests: 8 passed
  • service manager tests: 5 passed
  • daemon lifecycle tests: 15 passed
  • git diff --check

@birdmanmandbir
birdmanmandbir merged commit d0b7d48 into main Aug 13, 2026
9 checks passed
@orga-agent
orga-agent Bot deleted the fix/sync-daemon-shutdown branch August 13, 2026 10:17
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