Skip to content

[BUG] [v0.0.7] cortex cache show reports "Total Size: 0 B" and "Total Items: 0" while cache list shows items and cache size shows non-zero size #53316

@codvy8282

Description

@codvy8282

Project

cortex

Description

Three cache subcommands give contradictory information about the same cache directory.

Error Message

Debug Logs

System Information

windows 11

Screenshots

https://github.com/codvy8282/images/blob/main/23.png

Steps to Reproduce

$ cortex cache show
Cache Information

Location: /home/user/.cache/cortex
Exists:   yes
Total Size: 0 B
Total Items: 0

$ cortex cache list
Cached Items (1):

  16.00 KB  event-sound-cache.tdb...

$ cortex cache size
16.00 KB

Expected Behavior

All three commands should agree on cache contents.

Actual Behavior

cache show reports 0 B and 0 items. cache list shows 1 item at 16 KB. cache size shows 16.00 KB.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions