Skip to content

[BUG] [v0.0.7] cortex compact config --enable/--interval-hours/--log-retention-days claims success but admits changes are not persisted #53314

@codvy8282

Description

@codvy8282

Project

cortex

Description

Running any compact config modification prints a success-like message but then explicitly states "Configuration persistence not yet implemented. Settings will use defaults on next run."

Error Message

Debug Logs

System Information

windows 11

Screenshots

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

Steps to Reproduce

$ cortex compact config --enable
Configuration changes:
Would enable auto-compaction

Note: Configuration persistence not yet implemented.
Settings will use defaults on next run.

$ cortex compact config --interval-hours 24
Configuration changes:
Would set interval to 24 hours

Note: Configuration persistence not yet implemented.
Settings will use defaults on next run.

Expected Behavior

Either persist the change, or don't expose the flags at all and mark them as unimplemented in --help.

Actual Behavior

The command accepts the flag, prints a success-like message, and then reveals it was a no-op. Exit code is 0.

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