Fix enabling catalog item at project level
What does this MR do and why?
Fix enabling catalog item at project level (Agents and Flows)
- Adds required
parentItemConsumerIdas a parameter when creating an item consumer
Behind :global_ai_catalog feature flag
References
Screenshots or screen recordings
Screen_Recording_2025-12-03_at_11.01.36_am
How to set up and validate locally
- Prerequisite: You have a Duo workflow-enabled project.
- Enable the feature flags
global_ai_catalogandai_catalog_item_project_curation. - Create and enable agent(s) in a group from the Explore AI catalog
- Go to Project > Automate > Agents. For example,
https://gdk.test:3443/gitlab-duo/test/-/automate/agents. (project contained in group in which you've enabled the agent above) - Go to
Managedtab and click on the agent you just enabled in the parent group - In the top right corner, click `Enable.
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.
Related to #579520 (closed)