-
Notifications
You must be signed in to change notification settings - Fork 88
CLOUDP-293745: Enable toggling new Data Explorer GenAI project settings #3732
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
Conversation
|
APIx Bot |
| EnableDataExplorerGenAIFeatures = "enableDataExplorerGenAIFeatures" // EnableDataExplorerGenAIFeatures flag | ||
| DisableDataExplorerGenAIFeatures = "disableDataExplorerGenAIFeatures" // DisableDataExplorerGenAIFeatures flag | ||
| EnableDataExplorerGenAISampleDocumentPassing = "enableDataExplorerGenAISampleDocumentPassing" //nolint:gosec // EnableDataExplorerGenAISampleDocumentPassing flag | ||
| DisableDataExplorerGenAISampleDocumentPassing = "disableDataExplorerGenAISampleDocumentPassing" // DisableDataExplorerGenAISampleDocumentPassing flag |
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.
All flags are marked as modified due to realignment. For ease of reviewing, these are the actual modifications to this file.
| EnableDataExplorerGenAIFeatures = "Flag that enables the Data Explorer GenAI Features project setting." | ||
| DisableDataExplorerGenAIFeatures = "Flag that disables the Data Explorer GenAI Features project setting." | ||
| EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting." | ||
| DisableDataExplorerGenAISampleDocumentPassing = "Flag that disables the Data Explorer GenAI Sample Document Passing project setting." //nolint:gosec // This is just a message not a credential |
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.
All usages are marked as modified due to realignment. For ease of reviewing, these are the actual modifications to this file.
| EnableDataExplorerGenAIFeatures = "Flag that enables the Data Explorer GenAI Features project setting." | ||
| DisableDataExplorerGenAIFeatures = "Flag that disables the Data Explorer GenAI Features project setting." | ||
| EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting." | ||
| DisableDataExplorerGenAISampleDocumentPassing = "Flag that disables the Data Explorer GenAI Sample Document Passing project setting." //nolint:gosec // This is just a message not a credential |
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.
//nolint:gosec added to bypass false-positive detection of hardcoded credentials from linter
| DisableDataExplorer = "disableDataExplorer" // DisableDataExplorer flag | ||
| EnableDataExplorerGenAIFeatures = "enableDataExplorerGenAIFeatures" // EnableDataExplorerGenAIFeatures flag | ||
| DisableDataExplorerGenAIFeatures = "disableDataExplorerGenAIFeatures" // DisableDataExplorerGenAIFeatures flag | ||
| EnableDataExplorerGenAISampleDocumentPassing = "enableDataExplorerGenAISampleDocumentPassing" //nolint:gosec // EnableDataExplorerGenAISampleDocumentPassing flag |
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.
//nolint:gosec added to bypass false-positive detection of hardcoded credentials from linter
internal/usage/usage.go
Outdated
| DisableDataExplorer = "Flag that disables the Data Explorer project setting." | ||
| EnableDataExplorerGenAIFeatures = "Flag that enables the Data Explorer GenAI Features project setting." | ||
| DisableDataExplorerGenAIFeatures = "Flag that disables the Data Explorer GenAI Features project setting." | ||
| EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting." |
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.
| EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting." | |
| EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Sample Document Passing project setting." |
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.
Thanks for catching! Fixed now 👍
Proposed changes
The two new project settings have been enabled
These settings now toggleable using
--enable/disable<feature-name>The state of the setting will now also be displayed on running
atlas projects settings describeJira ticket: CLOUDP-293745
Checklist
make fmtand formatted my code