Skip to content

fix: include agent config in uninstall purge#242

Open
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/uninstall-purge-agent-configs
Open

fix: include agent config in uninstall purge#242
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/uninstall-purge-agent-configs

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • Include agents.toml and aliases.toml in the ~/.cortex config files collected by cortex uninstall --purge.
  • Add temp-home coverage for the uninstall collector so future config files do not silently survive purge.
  • Fix a test-only import for read_file_with_encoding so focused cortex-cli unit tests compile on current main.

Related to PlatformNetwork/bounty-challenge#47779.

Verification

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

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