Skip to content
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Add explicit shutdown path for `roxyd` that handles OS signals
(SIGINT/SIGTERM), cancels any in-progress connection attempt or
accept/reconnect loop cleanly, and logs shutdown lifecycle events.
- `roxyd` now handles node power-control requests from a Manager (immediate
and graceful reboot/shutdown), replacing the previous unimplemented
scaffolding. On Linux, immediate reboot and shutdown run in the background;
grouped `node_power` requests do not return a protocol response for these
operations. Graceful reboot and shutdown spawn the platform's standard
reboot or poweroff command and report success or `"fail"` to the Manager.
Legacy flat `reboot` and `shutdown` requests use the same behavior.
Immediate reboot and shutdown are not supported on non-Linux platforms.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence can read as if legacy flat reboot / shutdown also stop returning a protocol response. As far as I understand, flat requests delegate to the same immediate power backend, but still keep the legacy () response path. Could we clarify that distinction here?

Suggested change
- `roxyd` now handles node power-control requests from a Manager (immediate
and graceful reboot/shutdown), replacing the previous unimplemented
scaffolding. On Linux, immediate reboot and shutdown run in the background;
grouped `node_power` requests do not return a protocol response for these
operations. Graceful reboot and shutdown spawn the platform's standard
reboot or poweroff command and report success or `"fail"` to the Manager.
Legacy flat `reboot` and `shutdown` requests use the same behavior.
Immediate reboot and shutdown are not supported on non-Linux platforms.
- `roxyd` now handles node power-control requests from a Manager (immediate and
graceful reboot/shutdown), replacing the previous unimplemented scaffolding.
Immediate grouped `node_power` reboot and shutdown requests do not return a
protocol response; on Linux, they dispatch the OS-facing operation in the
background. Graceful reboot and shutdown attempt to spawn the
platform-specific command and return `Initiated` on success or `"fail"` on
start failure. Legacy flat `reboot` and `shutdown` requests delegate to the
same immediate power path while keeping the legacy `()` response path.
Immediate reboot and shutdown are not supported on non-Linux platforms.


### Changed

Expand Down
Loading
Loading