Page MenuHomePhabricator

Upgrade to Gerrit 3.11
Open, Needs TriagePublic

Description

BookwormJava 21Gerrit 3.11Gerrit 3.12Gerrit 3.13

Gerrit 3.11 has been released December 1st 2024 (Release plan). This task is to upgrade Gerrit to 3.11.

Executive summary
https://www.gerritcodereview.com/releases-readme.html#311

  • Java 21
  • Enforce project configuration changes for code review
  • New maintenance APIs
  • New metrics
  • New Submit requirements

Release Notes
https://www.gerritcodereview.com/3.11.html

Breaking changes

To be checked

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedABran-WMF
ResolvedABran-WMF
OpenNone
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedMatthewVernon
ResolvedLSobanski
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedLSobanski
Resolvedhashar
ResolvedABran-WMF
Resolvedhashar
ResolvedABran-WMF
ResolvedABran-WMF
Resolveddancy
ResolvedABran-WMF
DuplicateNone
DuplicateABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedDzahn
ResolvedABran-WMF
ResolvedDzahn
OpenNone
OpenNone
ResolvedMarostegui
ResolvedDzahn
OpenNone
ResolvedDzahn
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF

Event Timeline

hashar updated the task description. (Show Details)
hashar updated the task description. (Show Details)
hashar updated the task description. (Show Details)
hashar updated the task description. (Show Details)

The Checks API has some changes:

git diff -U0 origin/stable-{3.10,3.11} polygerrit-ui/app/api/checks.ts
diff --git a/polygerrit-ui/app/api/checks.ts b/polygerrit-ui/app/api/checks.ts
index 9dac91df07..0d5d0733d9 100644
--- a/polygerrit-ui/app/api/checks.ts
+++ b/polygerrit-ui/app/api/checks.ts
@@ -178,0 +179,7 @@ export declare interface CheckRun {
+  /**
+   * Indicates that the check run is powered by Aritificial Intelligence. This
+   * allows the UI to add special treatment, e.g. an icon to be added to the
+   * check name. Defaults to `false`.
+   */
+  isAiPowered?: boolean;
+
@@ -271,0 +279,6 @@ export declare interface Action {
+/**
+ * Action names that get special UI treatment.
+ */
+export const USEFUL = 'useful';
+export const NOT_USEFUL = 'not-useful';
+
@@ -429,0 +443,3 @@ export declare interface CheckResult {
+   * The actions with the names 'useful' and 'not-useful' will get special UI
+   * treatment (clickable thumbs-up and thumbs-down icons).
+   *
@@ -516,0 +533 @@ export enum LinkIcon {
+  VIEW_TIMELINE = 'view_timeline',

This release also makes mobile nav more responsive. It's improved more in 3.13 though.

Change #1238043 had a related patch set uploaded (by Arnaudb; author: Hashar):

[operations/puppet@production] Revert^2 "Gerrit: Disable auto reloading replication config"

https://gerrit.wikimedia.org/r/1238043

hashar added a parent task: Restricted Task.Mar 2 2026, 7:57 PM
hashar removed subtasks: Restricted Task, Restricted Task.Tue, Mar 24, 10:46 AM

I have removed T420822 as a subtask since upstream has not backported it to 3.11 either

hashar removed a subtask: Restricted Task.Wed, Apr 1, 10:32 AM