Page MenuHomePhabricator

Publish button hangs indefinitely without saving for some users
Closed, ResolvedPublicBUG REPORT

Description

I've gotten reports from three different users (student editors in Wiki Education courses) since last week, all reporting that when they try to publish an edit on en.wikipedia.org, it stays indefinitely in the 'saving' view without successfully publishing. One user reported restarting their computer and trying again, and replicating this behavior still.

I was forwarded one screenshot:

Screenshot 2024-11-07 at 2.14.34 PM.png (2,940×1,912 px, 1 MB)

Event Timeline

I received a screenshot of a console error from one of the affected users. It looks like it's "Remove does not match insert" from TransactionSquasher that is being thrown, but there's no user-facing indication of the problem or how to solve it.

Screenshot 2024-11-18 at 4.34.13 PM.png (1,164×1,486 px, 397 KB)

@Esanders Apparently the logging in T333710 wasn't catching something, since this is coming from removing the try/catch in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/1077018

Change #1092388 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/VisualEditor@master] Revert "editcheck: Remove try/catch around transaction squashing"

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

Change #1092388 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Revert "editcheck: Remove try/catch around transaction squashing"

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

Change #1092850 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/VisualEditor@wmf/1.44.0-wmf.3] Revert "editcheck: Remove try/catch around transaction squashing"

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

Change #1092851 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/VisualEditor@wmf/1.44.0-wmf.4] Revert "editcheck: Remove try/catch around transaction squashing"

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

Change #1092850 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@wmf/1.44.0-wmf.3] Revert "editcheck: Remove try/catch around transaction squashing"

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

Change #1092851 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@wmf/1.44.0-wmf.4] Revert "editcheck: Remove try/catch around transaction squashing"

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

Mentioned in SAL (#wikimedia-operations) [2024-11-19T21:39:39Z] <urbanecm@deploy2002> Started scap sync-world: Backport for [[gerrit:1092341|Enable experimental Parsoid fragment support on labs and test wikis (T374661)]], [[gerrit:1092850|Revert "editcheck: Remove try/catch around transaction squashing" (T333710 T380234)]], [[gerrit:1092851|Revert "editcheck: Remove try/catch around transaction squashing" (T333710 T380234)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-19T21:45:09Z] <urbanecm@deploy2002> cscott, kemayo, urbanecm: Backport for [[gerrit:1092341|Enable experimental Parsoid fragment support on labs and test wikis (T374661)]], [[gerrit:1092850|Revert "editcheck: Remove try/catch around transaction squashing" (T333710 T380234)]], [[gerrit:1092851|Revert "editcheck: Remove try/catch around transaction squashing" (T333710 T380234)]] synced to the testservers (https://wikitech.wikimedia.or

Mentioned in SAL (#wikimedia-operations) [2024-11-19T22:00:19Z] <urbanecm@deploy2002> Finished scap sync-world: Backport for [[gerrit:1092341|Enable experimental Parsoid fragment support on labs and test wikis (T374661)]], [[gerrit:1092850|Revert "editcheck: Remove try/catch around transaction squashing" (T333710 T380234)]], [[gerrit:1092851|Revert "editcheck: Remove try/catch around transaction squashing" (T333710 T380234)]] (duration: 20m 39s)

DLynch claimed this task.

That should stop this from interrupting the save process. I'm going to just close this ticket (since QAing it is a challenge), and investigation of the underlying issue will continue in the aforementioned T333710.