Skip to content

Support ChatGLM for "Summarize diff automatically"

Baodong请求将refactor/vertex-adding-from-upstream合并到main-jh

Related issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/3170

Upstream no longer supports the triggering method of quick action (!1786 (merged));

Now use automatic trigger, when MR is newly created, or when MR has a commit update.

What does this MR do and why?

About Page: https://about.gitlab.com/blog/2023/04/20/merge-request-changes-summary-ai/

Related upstream MR:

Screenshots or screen recordings

Trigger button

Screenshot_from_2023-07-24_17-40-43

Show details

Screenshot_from_2023-07-24_17-41-06

How to set up and validate locally

  • Simulate a SaaS instance
  • Create a Project and MRs under a Ultimate Group
  • Feature.enable(:openai_experimentation)
  • Feature.enable(:ai_related_settings, namespace)
  • namespace.update!(experiment_features_enabled: true)
  • Feature.enable(:summarize_diff_quick_action, user)
  • Feature.enable(:summarize_diff_automatically, project)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Baodong 编辑于

合并请求报告