Disabling AI features

121 views
Skip to first unread message

Ryan Lahfa

unread,
Dec 31, 2025, 11:41:30 AM12/31/25
to Repo and Gerrit Discussion
Hello, thanks for Gerrit.

We noticed that Gerrit 3.13.1 has AI buttons now, we would like to disable all these features at the server level forever. I looked at the code and saw no feature flag to disable these things. Is there plan or appetite to receive a contribution to add this?

Kind regards.
-- 
Ryan

Nasser Grainawi

unread,
Jan 7, 2026, 12:56:48 PMJan 7
to Ryan Lahfa, Repo and Gerrit Discussion
On Wed, Dec 31, 2025 at 9:41 AM Ryan Lahfa <maste...@gmail.com> wrote:
Hello, thanks for Gerrit.

We noticed that Gerrit 3.13.1 has AI buttons now, we would like to disable all these features at the server level forever. I looked at the code and saw no feature flag to disable these things. Is there plan or appetite to receive a contribution to add this?

I'd be ok with a global server config that turns off features related to AI use, but it would probably be more of a "best effort" thing than promising perfection. For example, I don't think we'd do anything to restrict a plugin registering Checks API results with the "isAiPowered" flag set to true and instead we would suggest you not install any plugin doing that. I don't know of any plan to implement that config flag.

Just in case there's any confusion, as of right now, there's nothing in Gerrit itself that directly uses any AI services. There are plugins available that provide varying levels of integration with AI services and (this is probably what you're referring to in 3.13.1) there's the core feature to provide copyable prompt text that a user can paste into their own AI chat/agent service.

Nasser
 

Kind regards.
-- 
Ryan

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/58eb8bd4-72e6-4d8a-997c-8a9bed9183b4n%40googlegroups.com.

Ryan Lahfa

unread,
Jan 12, 2026, 6:13:00 AM (10 days ago) Jan 12
to Nasser Grainawi, Repo and Gerrit Discussion
Hi Nasser,

On Wed, Jan 7, 2026 at 6:56 PM Nasser Grainawi <nasser....@oss.qualcomm.com> wrote:
On Wed, Dec 31, 2025 at 9:41 AM Ryan Lahfa <maste...@gmail.com> wrote:
Hello, thanks for Gerrit.

We noticed that Gerrit 3.13.1 has AI buttons now, we would like to disable all these features at the server level forever. I looked at the code and saw no feature flag to disable these things. Is there plan or appetite to receive a contribution to add this?

I'd be ok with a global server config that turns off features related to AI use, but it would probably be more of a "best effort" thing than promising perfection. For example, I don't think we'd do anything to restrict a plugin registering Checks API results with the "isAiPowered" flag set to true and instead we would suggest you not install any plugin doing that. I don't know of any plan to implement that config flag.

Yeah, obviously. That's fairly reasonable.
I will see if I can send a change for this.
 
Just in case there's any confusion, as of right now, there's nothing in Gerrit itself that directly uses any AI services. There are plugins available that provide varying levels of integration with AI services and (this is probably what you're referring to in 3.13.1) there's the core feature to provide copyable prompt text that a user can paste into their own AI chat/agent service.

Yes, it's clear from clicking on that button, nonetheless, that's something undesirable for us.

Kind regards,
-- 
Ryan

Reply all
Reply to author
Forward
0 new messages