Please have in mind that hiting this bug is a race condition and it is hit
in a minority of cases, not all times. The essence of the bug has to do
with the subscription to the "load" event. In some instances the event had
already happened by the time the EL code was loaded.

Thanks,

Nuria





On Thu, Oct 12, 2017 at 7:35 AM, Dan Andreescu <[email protected]>
wrote:

> 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 <[email protected]> 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
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/analytics
>>
>
>
> _______________________________________________
> Analytics mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/analytics
>
>
_______________________________________________
Analytics mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/analytics

Reply via email to