Create AI flow pipeline on mention

What does this MR do and why?

This MR implements the AI flow pipeline trigger functionality that allows users to trigger AI workflows when mentioned in comments. This feature enables automated AI-powered responses and actions based on user mentions in GitLab issues and merge requests.

Testing

Ensure you have enabled ai_flow_triggers feature flag.

Similar to Draft: AI Flow triggers (!200193 - closed) but Ai flow trigger should be created via Rails console:

::Ai::FlowTrigger.create!(project: project, user: user, event_types: [0], description: "Run AI Flow Trigger", config_path: ".gitlab/duo/agents.yml")
Edited by Dylan Griffith (ex GitLab)

Merge request reports

Loading