This might be a train blocker for T392177: 1.45.0-wmf.7 deployment blockers because I can reproduce the following issue on 1.45.0-wmf.7 (e.g. mediawiki.org) but not on 1.45.0-wmf.6 (e.g. dewiki).
Steps to reproduce:
- Make sure you have the preference enabled to "use the wikitext mode inside the visual editor".
- Start editing any article in VisualEditor.
- Make at least one change, e.g. add a character.
- Switch to source editing with one of the two methods available in the toolbar(s) at the top.
- A popup appears: "Invalid response from server."
- When I click "Try again" the code apparently does not try to do the same again but does a different API request in the background. As a result the edit I just did gets lost.
We have also seen the wikitext disappear completely when switching to the classic wikitext editor instead.