Implement unified logout path #40

Merged
albert merged 1 commit from u/albert/fix/logout-fixes into main 2026-05-10 12:33:26 +00:00
Owner

All forms of logout:

  • Win+Shift+Esc
  • Logout button in HUD
  • Logout via API

now do the following:

  1. Shut down shepherd* services
  2. Actually log out swaymsg exit

This resolves an issue where after logging out with the HUD button, the API server stayed up. On the next boot, since the server doesn't know about the new session, it won't receive events regarding the currently running activity. This makes it impossible to extend or cancel it.

All forms of logout: * Win+Shift+Esc * Logout button in HUD * Logout via API now do the following: 1. Shut down shepherd* services 2. Actually log out `swaymsg exit` This resolves an issue where after logging out with the HUD button, the API server stayed up. On the next boot, since the server doesn't know about the new session, it won't receive events regarding the currently running activity. This makes it impossible to extend or cancel it.
Implement unified logout path
All checks were successful
CI / Rustfmt (pull_request) Successful in 4m35s
CI / Build (pull_request) Successful in 4m54s
CI / ShellCheck (pull_request) Successful in 11s
CI / Test (pull_request) Successful in 4m56s
CI / Clippy (pull_request) Successful in 5m25s
CI / E2E (pull_request) Successful in 5m38s
7f85864c42
All forms of logout:
* Win+Shift+Esc
* Logout button in HUD
* Logout via API

now do the following:
1. Shut down sheperd* services
2. Actually log out `swaymsg exit`
albert merged commit c87bd71018 into main 2026-05-10 12:33:26 +00:00
Sign in to join this conversation.
No reviewers
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
albert/shepherd-launcher!40
No description provided.