Thanks for the post, this bug will definitely bias any data people got with mw.track.  If the data is found to be so broken as to be useless, should we delete it up through the date the fix goes live?  Asking people who use mw.track, not Sam

On Thu, Oct 12, 2017 at 6:41 AM, Sam Smith <samsmith@wikimedia.org> wrote:
o/

Prior to Thursday, 28th September, if your client-side EventLogging
instrumentation logged event via mw.track, then only events tracked
during the first pageview of a user's session were logged.

Now, technically, the events weren't ignored or dropped. Instead, the
subscriber for the "event" topic was never subscribed when the module
was loaded from the ResourceLoader's cache and so events published on
that topic simply weren't received and logged.

This bug was discovered while testing some instrumentation maintained
by Readers Web [0] and independently by Timo Tijhof, who submitted the
ideal fix [1] promptly.

-Sam

[0] https://phabricator.wikimedia.org/T175918
[1] https://gerrit.wikimedia.org/r/#/c/378804/

---
Engineering Manager
Readers

Timezone: BST (UTC+1)
IRC (Freenode): phuedx

_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics