There are some edit sessions that are logged as successfully posted comments (recorded in talk_page_edit as being published); however, there is not an associated save event (event.action = 'saveSuccess') in EditAttemptStep.
While reviewing data for the New Topic Tool AB test in T277825, we found that this impacted only discussiontool sessions and was found to impact about 14% of AB test sessions where a new topic was published. It's possible this may be related to the connection-related issues mentioned in T304771 but further investigation is needed to confirm.
The purpose of this ticket is to confirm the extent and specific type of events where this issue occurs and identify the cause.
Requirements:
- Review data to confirm the extent of impact and specific type of events where this issue occurs. This will include confirming if those sessions only come from discussiontools (event.integration = discussiontools), if they all include init events, and if either an abort or SaveFailure action was logged.
- Identify the possible source of the issue
QA
To QA this:
- be in a state will will log events (trackdebug=1 or similar), with console state preserved between pageloads (because a lot of logging is happening alongside a reload).
- verify that a saveSuccess event is sent when:
- you leave a normal reply, to make sure I didn't break what was already working
- you post a new topic on a blank page (which will reload the page)
- you leave a reply while on the mobile version of the page (which will reload the page)
You can't easily test the final case, since it relies on an unlikely API failure.