Release engineering has a Gerrit dashboard on releng.git accessible via https://gerrit.wikimedia.org/r/p/releng/+/dashboard/main:default
The API query recently started to throw an error:
An error occurred Error 400 (Bad Request): Error in operator parentproject:integration Endpoint: /changes/
To reproduce
Browse https://gerrit.wikimedia.org/r/q/parentproject:integration
Run a query: ssh -p 29418 gerrit.wikimedia.org gerrit query parentproject:integration
type: error message: Error in operator parentproject:integration
The dashboard is in releng.git under reference refs/meta/dashboards/main:
[dashboard] title = Release Engineering Dashboard description = Custom dashboard for the Release Engineering Team [section "Assigned to me"] query = is:open assignee:self -is:wip -label:Verified<0 limit:10 [section "My merge conflicts"] query = is:open owner:self NOT is:mergeable limit:3 [section "Our patches awaiting review"] # TODO: Figure out how to exclude labels from a group with labels; # e.g., "Release Engineering" query = is:open ownerin:\"Release Engineering\" -owner:self -assignee:self -is:wip -is:ignored -label:Verified<0 -label:Code-Review<0 limit:10 [section "Incoming patches for our repositories"] # These are patches to our repos that: # - pass test # - are not wip # - we're not the owner query = is:open (parentproject:integration OR parentproject:releng OR parentproject:blubber-doc OR project:integration/pipelinelib OR project:blubber OR project:mediawiki/tools/release OR project:mediawiki/tools/scap) limit:10 -label:Verified<0 -is:wip -is:ignored -ownerin:\"Release Engineering\" [section "My patches awaiting review"] query = is:open owner:self -is:wip -label:Verified<0 -label:Code-Review<0 limit:10 [section "My stalled patches"] query = is:open owner:self (is:wip OR label:Verified<0 OR label:Code-Review<0) limit:10 [section "Recently merged patches"] query = is:merged ownerin:\"Release Engineering\" limit:10
It has not changed recently.
The whole request for the section Incoming patches for our repositories is:
Looking at Apache logs, the query worked 2020-09-22T09:06:28, the next one made failed with a 400 at 2020-09-23T18:30:53.
The queries received by Apache are the exact same ones.