Compass services restart command

Table of Contents

This page is a capture in the next bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.

What

Add a compass services restart sub-command that stops the service fleet and then starts it again in one step — equivalent to running compass services stop followed by compass services start. It should share the same options/behaviour as those two existing sub-commands (start, stop, status, clear-logs) and report the post-start status. An optional --clear-logs flag to wipe logs between stop and start would be a natural convenience for clean-slate reproduction.

Why

Restarting services to pick up a rebuilt binary is a routine step (e.g. when iterating on a service-side fix), and currently requires two separate commands. A single restart keeps the workflow compass-first and avoids the gap between stop and start where the fleet is half-down.

References

See also

Emacs 29.3 (Org mode 9.6.15)