-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for data stores #192
base: master
Are you sure you want to change the base?
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
👋 xavidop your PR is conflicting and needs to be updated to be merged |
👋 xavidop your PR is conflicting and needs to be updated to be merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
cmd/datastore/delete.go (1)
12-12
: Correct the doc comment to accurately reflect the command purpose.The current comment says “search datastore set command,” but this command is for deleting a datastore.
-// deleteCmd represents the search datastore set command +// deleteCmd represents the delete datastore command
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
cmd/datastore/delete.go
(1 hunks)
🔇 Additional comments (2)
cmd/datastore/delete.go (2)
24-25
: Add more context to the error message.
This issue was previously flagged with the same suggestion. Provide a more descriptive error message for clarity.
- global.Log.Errorf("%s", err.Error())
+ global.Log.Errorf("failed to delete datastore: %v", err)
36-50
: Consider adding test coverage for deleteCmd.
Currently, there are no unit tests for the datastore deletion flow. Testing each path, including error scenarios, ensures reliability and prevents regressions.
Do you want me to generate an initial test file for this command?
👋 xavidop your PR is conflicting and needs to be updated to be merged |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary by CodeRabbit
New Features
cxcli datastore
command for managing datastores.cxcli datastore search
command for searching within datastores.cxcli
.Documentation
cxcli datastore
andcxcli datastore search
commands.Development Environment
General Updates
Summary by CodeRabbit
New Features
cxcli datastore
command for managing datastore operations.Bug Fixes
Documentation
cxcli datastore
commands and datastore operations.Chores
.coderabbit.yaml
for review configurations.anchore/sbom-action/download-syft
.docs/requirements.txt
.