Add snapshot restore action to BOS Settings #23

Closed
opened 2026-10-01 15:21:44 +08:00 by Breadway · 2 comments
Owner

BOS-26 adds the bos-restore-snapshot <number> command for a root booted from a GRUB snapshot. Add a Settings > Snapshots action that invokes this command with explicit confirmation, explains that the current @ root is preserved, and clearly warns that the system will reboot. Keep the existing snapshot list behavior. Validate the command invocation and confirmation flow in an isolated headless environment. Do not run a graphical desktop on the host.

BOS-26 adds the `bos-restore-snapshot <number>` command for a root booted from a GRUB snapshot. Add a Settings > Snapshots action that invokes this command with explicit confirmation, explains that the current `@` root is preserved, and clearly warns that the system will reboot. Keep the existing snapshot list behavior. Validate the command invocation and confirmation flow in an isolated headless environment. Do not run a graphical desktop on the host.
Author
Owner

Implementation PR: #24

Adds a confirmed restore action, validates and invokes pkexec bos-restore-snapshot <number>, and reports command errors. The confirmation explains that the current @ root is preserved as a backup and that the system will reboot. Verified with frontend checks/build, headless confirmation tests, and Rust tests/build/clippy/format checks. No desktop or real restore helper was launched.

Implementation PR: https://git.breadway.dev/Breadway/bos-settings/pulls/24 Adds a confirmed restore action, validates and invokes `pkexec bos-restore-snapshot <number>`, and reports command errors. The confirmation explains that the current `@` root is preserved as a backup and that the system will reboot. Verified with frontend checks/build, headless confirmation tests, and Rust tests/build/clippy/format checks. No desktop or real restore helper was launched.
Author
Owner

Implementation is linked to PR #24. Frontend checks/build, headless confirmation tests, and Rust tests/build/Clippy/format passed. Forgejo CI was pending at last check. Moving to REVIEW for independent review; if CI fails, return it to TODO with the failure recorded.

Implementation is linked to PR #24. Frontend checks/build, headless confirmation tests, and Rust tests/build/Clippy/format passed. Forgejo CI was pending at last check. Moving to REVIEW for independent review; if CI fails, return it to TODO with the failure recorded.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/bos-settings#23
No description provided.