Remove duo_include_context_file feature flag
What does this MR do and why?
Remove duo_include_context_file feature flag
Remove the feature flag duo_include_context_file
that was used to enable
the ability to include additional context into Duo Chat questions.
Removal of this feature flag is part of the cleanup process of the feature introduction. This feature flag did require at least one of the other additional feature flags that allowed for specific context to be enabled for it to affect any users.
References
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
-
Checkout
remove_duo_additional_context_ff
branchgit checkout remove_duo_additional_context_ff
-
Start
gdk
gdk start
-
Navigate to http://gdk.test:3000/-/graphql-explorer
-
Run the following mutation:
query currentUser { currentUser { duoChatAvailable duoCodeSuggestionsAvailable duoChatAvailableFeatures } }
-
You should only see the
include_file_context
in theduoChatAvailableFeatures
array in the return.{ "data": { "currentUser": { "duoChatAvailable": true, "duoCodeSuggestionsAvailable": true, "duoChatAvailableFeatures": [ "include_file_context" ] } }, "correlationId": "XXXXXXXXXX" }
-
Repeat this with the remaining feature flags:
- Enable feature flag
Feature.enable(:duo_include_context_issue)
- Enable feature flag
Feature.enable(:duo_include_context_merge_request)
- Enable feature flag
Feature.enable(:duo_include_context_snippet)
- Enable feature flag
Feature.enable(:duo_include_context_local_git)
- Enable feature flag
Feature.enable(:duo_include_context_dependency)
- Enable feature flag
-
They should all show up in the
duoChatAvailableFeatures
when done.- If only
snippet
andfile
show after enabling the other flags, ensure you have an EE license configured
- If only
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Closes #514555 (closed)