Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Prototype(Frontend): Guided pipeline creation from scratch or improve existing CI config
## Goal
Create a button on the Pipeline Editor page that opens Duo Chat with a custom prompt to guide users in creating or improving their CI configuration.
## User Story
As a GitLab user working in the Pipeline Editor, I want an easy way to get AI-assisted help with my CI configuration so that I can quickly create or improve my `.gitlab-ci.yml` file.
## Workflow
1. User opens the Pipeline Editor
2. User clicks "Improve your CI config with Duo" button (located next to the tabs below the header)
3. Duo Chat drawer opens with a pre-populated prompt tailored for CI configuration assistance
4. The CI-specialized agent analyzes the project and guides the user
5. Agent proposes configuration changes and requests user approval
6. Upon approval, the Pipeline Editor updates with the new/modified CI configuration
## Technical Considerations
- Component location: `app/assets/javascripts/ci/pipeline_editor/`
- Integration with existing Duo Chat drawer
- Consider feature flag for rollout
## Edge Cases to Explore
- Duo unavailable or user doesn't have access
- Empty vs. existing CI configuration
- User cancels mid-workflow
## Related Issues
- Parent MVC: #586414
issue