Page MenuHomePhabricator

Wikimedia\Assert\PostconditionException: Postcondition failed: Parsoid revision did not match requested revision
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
message
[a6c569b9-2a93-426f-ab78-03111a2a40b2] /w/api.php   Wikimedia\Assert\PostconditionException: Postcondition failed: Parsoid revision did not match requested revision
trace
from /srv/mediawiki/php-1.42.0-wmf.4/vendor/wikimedia/assert/src/Assert.php(203)
#0 /srv/mediawiki/php-1.42.0-wmf.4/extensions/DiscussionTools/includes/ApiDiscussionToolsEdit.php(284): Wikimedia\Assert\Assert::postcondition(boolean, string)
#1 /srv/mediawiki/php-1.42.0-wmf.4/includes/api/ApiMain.php(1931): MediaWiki\Extension\DiscussionTools\ApiDiscussionToolsEdit->execute()
#2 /srv/mediawiki/php-1.42.0-wmf.4/includes/api/ApiMain.php(908): ApiMain->executeAction()
#3 /srv/mediawiki/php-1.42.0-wmf.4/includes/api/ApiMain.php(879): ApiMain->executeActionWithErrorHandling()
#4 /srv/mediawiki/php-1.42.0-wmf.4/api.php(95): ApiMain->execute()
#5 /srv/mediawiki/php-1.42.0-wmf.4/api.php(48): wfApiMain()
#6 /srv/mediawiki/w/api.php(3): require(string)
#7 {main}
Impact

Prevented saving a DiscussionTools reply.

Notes

Occurred on https://meta.wikimedia.org/wiki/Talk:Incident_Reporting_System.

Event Timeline

This is very rare, I see 5 cases in total over the last couple of days. https://logstash.wikimedia.org/goto/46a99602a5e844714902636968dbd1f3

The error is new in rEDTO5b1013124d41: ApiDiscussionToolsEdit: Remove unnecessary checks. Previously it was a warning, and I didn't find any occurrences of them logged – it's possible I looked in the wrong place somehow.

MSantos edited projects, added Parsoid (Tracking); removed Parsoid.
Krinkle added subscribers: ppelberg, Krinkle.

ppelberg moved this task from Backlog to Dependent on others on the Editing-team (Tracking) board.

@ppelberg Who is this dependent on, and do they know about this? I note that the task is also on the Parsoid workboard, so maybe that's the second party, however it is on their "Tracking" column as well, which suggest both might be pointing elsewhere.