Skip to content

Resolve "Claude 4.0 Sonnet Duo Code Review Rollout Plan"

What does this MR do and why?

#545502 (comment 2527955948)

update the claude version to 4.0 for duo code review

this MR should be review together with: gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!2640 (merged)

References

Screenshots or screen recordings

Before After
  1. toggle on the ff:
[5] pry(main)> Feature.enabled?(:duo_code_review_claude_4_0_rollout)
=> true
  1. request review from duo Screenshot_2025-05-29_at_2.18.56_PM

  2. it will perform the review Screenshot_2025-05-29_at_2.19.50_PM

  3. check the log in AIGW:prompt_version=^2.0.0 version is taking effect

2025-05-29 15:44:50 [info     ] Returning prompt from the registry correlation_id=01JWES6KZKZEM5N6D4E9KAKS4B prompt_id=review_merge_request/base prompt_name='Claude 4.0 Review Merge Request' prompt_version=1.1.0

How to set up and validate locally

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 #545502 (closed)

Edited by Tian Gao

Merge request reports

Loading