UAT: session delete Deletion Summary panel shows Storage: 0 KB freed — actual freed storage not calculated #4693

Closed
opened 2026-04-08 18:01:44 +00:00 by HAL9000 · 1 comment
Owner

Summary

The agents session delete command always shows Storage: 0 KB freed in the Deletion Summary panel. The actual storage freed by deleting the session is never calculated.

Expected Behavior (from docs/specification.md §agents session delete)

The Deletion Summary panel should show the actual storage freed:

Storage: 12 KB freed

Actual Behavior

src/cleveragents/cli/commands/session.pydelete() function:

summary_table.add_row("Storage:", "0 KB freed")

The storage freed is hardcoded to "0 KB freed" regardless of how many messages the deleted session contained.

Code Location

  • src/cleveragents/cli/commands/session.pydelete() function, Rich output section

Impact

  • Users cannot see how much disk space was reclaimed by deleting a session
  • The Deletion Summary panel shows misleading information

Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Summary The `agents session delete` command always shows `Storage: 0 KB freed` in the Deletion Summary panel. The actual storage freed by deleting the session is never calculated. ## Expected Behavior (from `docs/specification.md` §agents session delete) The Deletion Summary panel should show the actual storage freed: ``` Storage: 12 KB freed ``` ## Actual Behavior `src/cleveragents/cli/commands/session.py` — `delete()` function: ```python summary_table.add_row("Storage:", "0 KB freed") ``` The storage freed is hardcoded to `"0 KB freed"` regardless of how many messages the deleted session contained. ## Code Location - `src/cleveragents/cli/commands/session.py` — `delete()` function, Rich output section ## Impact - Users cannot see how much disk space was reclaimed by deleting a session - The Deletion Summary panel shows misleading information --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.5.0 milestone 2026-04-08 18:05:36 +00:00
freemo added the
Priority
Medium
State
Unverified
Type
Bug
labels 2026-04-08 23:39:19 +00:00
Author
Owner

Closing as duplicate of #4878 — both issues report the same problem: session storage size always shows "0 KB". Issue #4878 covers both session list and session delete and has milestone v3.3.0 assigned.


Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Closing as duplicate of #4878 — both issues report the same problem: session storage size always shows "0 KB". Issue #4878 covers both `session list` and `session delete` and has milestone v3.3.0 assigned. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#4693