Skip to content

Fix cache command path mismatch#270

Open
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/cache-show-cortex-home
Open

Fix cache command path mismatch#270
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/cache-show-cortex-home

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • Make cache subcommands use the same Cortex-home cache directory reported by debug paths.
  • Add a binary integration regression that compares cache show --json with debug paths --json.

Tests

  • cargo test -p cortex-cli --test cache_paths -- --nocapture
  • cargo check -p cortex-cli
  • cargo fmt --check --package cortex-cli
  • git diff --check

Note: I avoided the full cortex-cli lib-test route because current main has an unrelated private import compile error in agent_cmd/tests.rs.

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant