Only show available flow types on flow triggers
What does this MR do and why?
- Queries
flowsifai_catalog_flowsis on - Queries
third_party_flowsifai_catalog_third_party_flowsis on - If both FFs are off
- Skips query
- Does not show radio button selection
- Defaults to config file path mode
I have considered adding global_ai_catalog checks as well, but decided against it for some reasons. Let me know if you have questions.
Screenshots or screen recordings
| Both off |
ai_catalog_flows on |
ai_catalog_third_party_flows on |
Both on |
|---|---|---|---|
|
|
|
|
How to set up and validate locally
- Enable the feature flag:
echo "Feature.enable(:ai_flow_triggers)" | rails c - Go to http://gdk.test:3000/gitlab-duo/test/-/automate/flow-triggers
- Click on Create new flow trigger
- Test out the feature flags listed top of this MR description
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.
Edited by Vanessa Otto



