GitLab Duo with Amazon Q Preview Release - re:Invent
### Release notes GitLab Duo with Amazon Q Preview/Beta is now available to Self-Managed Ultimate customers running on AWS, free of charge. To get started, enable GitLab Duo with Amazon Q from your GitLab instance settings. GitLab Duo with Amazon Q introduces new capabilities that autonomously perform feature planning and development to AI-driven unit test generation, automated merge request reviews, and Java codebase upgrades. To learn more, see our [public announcement](https://about.gitlab.com/blog/2024/12/03/gitlab-duo-with-amazon-q-devsecops-meets-agentic-ai/) and [documentation](https://docs.gitlab.com/ee/user/duo_amazon_q/). ### To check out the code live see our [public branch](https://gitlab.com/gitlab-org/gitlab/-/tree/gitlab-duo-with-amazon-q-preview). ### Overview The Amazon Q/Duo re:Invent integration features 4 workstreams for the P0 scope: 1. Authentication and onboarding 2. Settings and configuration 3. Merge Reviews by Q 4. Assign to Q Issue Workflow For more details, view the internal PRD document "User Experience Scope" [table](https://docs.google.com/document/d/17FPAKo6LowkVpjFjUlPUW1gyRH9iMvD8HnI1-UmO1aI/edit#bookmark=id.eou0d4lv4hxh) #### How do I setup GitLab Duo with Amazon Q during the preview? GitLab Duo with Amazon Q is available to Self Managed Ultimate customers running on AWS during the Preview, free of charge. To get started, admins enable GitLab Duo with Amazon Q from their GitLab instance setting: _Admin > Settings > General > GitLab Duo with Amazon Q_. First, customers need to add an AWS IAM Role ARN that gives the GitLab instance permission to access Amazon Q Developer from your AWS account. Second, admins configure GitLab Duo with Amazon Q as “On by Default” which automatically enables it for all projects, of as “Off by Default” which requires Group and Project admins to configure individually. Admin's can also choose to have GitLab Duo with Amazon Q "Off for all projects" which disables Amazon Q for all Groups and Projects. _Note: When admins switch from "On by Default" to "Off by Default" this should apply to new projects, and not disable existing projects._ To finish setup, from Group or _Project Settings > General > GitLab Duo with Amazon Q_ admins can manage GitLab Duo with Amazon Q, using the same flows as GitLab Duo AI. #### How do I use GitLab Duo with Amazon Q during the preview? After setup, Amazon Q Developer is available for developers via GitLab “quick actions” from GitLab projects: - **Idea to Merge Request**: Idea to Merge is available from a GitLab Issue with `/q dev`. Idea to Merge Request uses the issues title and description along with project context to generate a new merge request with the change. You can iterate on the generated changed by leaving a comment on the Merge Request with feedback and invoking `/q dev`. - **Java Upgrades**: From a GitLab Issues in a project with Java 8 or 11 code, invoke `/q transform` and Amazon Q Developer will start and upgrade. When complete you’ll receive a new Merge Request with a summary of what was changed. - **Merge Request Reviews**: From a GitLab Merge Request, invoke `/q review` to have Amazon Q Developer perform quality and security reviews of your changes. Finding will be posted as comments, and you can invoke `/q fix` on a comment to have Amazon Q Developer generate a suggestion with a fix. - **Unit Test Generation**: From a GitLab Merge Request, highlight a function and invoke `/q test` to add coverage for it. Amazon Q Developer will response with a suggested update. #### Deliverables 1. Authentication and onboarding (https://gitlab.com/groups/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/-/epics/6+) 1. APIs (https://gitlab.com/groups/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/-/epics/17+) 1. Settings and configuration (https://gitlab.com/groups/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/-/epics/7+) 2. Quick Action - Code Transformation, Java upgrade (https://gitlab.com/groups/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/-/epics/15+) 3. Quick Action - Test Case Generation (https://gitlab.com/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/integration-motion-planning/-/issues/87+) 4. Quick Action - Idea to MR (https://gitlab.com/groups/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/-/epics/21+) 5. Merge Review Summary by Q (https://gitlab.com/groups/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/-/epics/16+) #### GitLab release schedule for these features ([Product Development Timeline](https://handbook.gitlab.com/handbook/engineering/workflow/#product-development-timeline)) Milestone %17.7 - Self-managed release date, Thursday 21-Nov-2024 - 2024-10-11 (Friday), Engineering start date - 2024-11-15 (Friday), Engineering end date Milestone %17.9 - Self-Managed release date, Thursday 19-Feb-2024 - 2025-01-10 (Friday), Engineering start date - 2025-02-14 (Friday), Engineering end date
epic