CLI: logout never revokes the server session, and no session commands exist #114
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app#114
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the surface parity report (2026-08-18), defect 2.
eagraiclainne logoutdeletes the local token file only. The server session survives until expiry or a JWT secret rotation. The CLI also has noListSessions/RevokeSessioncommands (no client wrappers are called fromcmd/). So the CLI can mint sessions it can never end.Where:
cmd/eagraiclainne/commands/logout.go.Fix:
logoutcallUserService/Logout(revoke) before it deletes the token file.session listandsession revokecommands — session management is a natural maintenance-tier verb.Related: #112 (session behavior oddities on web).