Something goofy is going on with "status:closed" queries in Gerrit lately.
Works (status:abandoned):
$ curl "https://gerrit.wikimedia.org/r/changes/?q=status:abandoned&n=1"
)]}'
[
{ "kind": "gerritcodereview#change", "id": "mediawiki%2Fextensions%2FFlow~master~Iade500a4c2fb8b96e88e5074c7ceff484f02cce9", "project": "mediawiki/extensions/Flow", "branch": "master", "change_id": "Iade500a4c2fb8b96e88e5074c7ceff484f02cce9", "subject": "Implement former SimpleAntiSpam extension in \\Flow\\View", "status": "ABANDONED", "created": "2014-02-06 04:22:23.000000000", "updated": "2014-02-06 04:30:14.000000000", "mergeable": true, "_sortkey": "002af04e0001b469", "_number": 111721, "owner": { "name": "Legoktm" }, "_more_changes": true }
]
Fails (status:closed):
$ curl "https://gerrit.wikimedia.org/r/changes/?q=status:closed&n=1"
Internal server error
You can reproduce the same behavior by going to https://gerrit.wikimedia.org and inputting "status:closed" into the search input. Doing so results in:
Code Review - Error
500 Internal server error
[Continue]
This is a breaking change in the Gerrit Web API, causing [[mw:Gerrit/Reports]] to stop updating.
Version: wmf-deployment
Severity: major
URL: https://code.google.com/p/gerrit/issues/detail?id=2392