Skip to content

fix(cli): resolve session ID before delete like GET/PATCH do (#44117)#44273

Open
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-44117
Open

fix(cli): resolve session ID before delete like GET/PATCH do (#44117)#44273
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-44117

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #44117. The DELETE /api/sessions/{id} endpoint did raw WHERE id=? lookup without resolving the session ID first, unlike the GET and PATCH endpoints which use resolve_session_id() for prefix/alias/compression-root resolution. This caused 'session not found' errors when the frontend held a compression lineage root ID or short prefix that needed resolution.

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery comp/cli CLI entry point, hermes_cli/, setup wizard labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Cannot delete sessions in default proffile / ID not found

2 participants