Skip to content

fix: honor cortex home for dag storage#247

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

fix: honor cortex home for dag storage#247
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/dag-store-cortex-home

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • Route DAG storage through the existing find_cortex_home() resolver so CORTEX_CONFIG_DIR and CORTEX_HOME store DAGs under <cortex-home>/dags.
  • Add regression coverage for both CORTEX_HOME and CORTEX_CONFIG_DIR precedence.
  • Fix the agent command test import so the focused cortex-cli lib test target compiles.

Related to PlatformNetwork/bounty-challenge#52498.

Verification

  • cargo test -p cortex-cli dag_store_path_ -- --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