Error
'.event.query' should be string
Impact
There were approximately 3800 such errors in the last 24 hour period.
Notes
This is an EventGate validation error affecting the SearchSatisfaction schema, which, AFAICT, has been happening for a long time. See https://logstash.wikimedia.org/goto/b022bd7daf353e0440d0250d475af816.
At the time of writing, this error is the second-most frequent validation error:
Some paths across the Wikipedias appear to result in URLs that have multiple searchTerm parameters when coming from a SERP. If the SearchSatisfaction instrument is enabled, this results in an event with query property of type string[] and not string.
QA Steps
Scenario 1
- Navigate to https://wikidata.beta.wmflabs.org/
- Disable V2 of Vector, if you're using it
- Run the following in your browser's console:
localStorage.setItem( 'wmE-sS--sessionId', 'T276474' ); localStorage.setItem( 'wmE-sS--sessionIdEndTime', Date.now() + 24 * 60 * 60 * 1000 );
- Refresh the page
- Search for "foo" using the search widget in the top right-hand corner
- Wait for ~30s
- Observe that a SearchSatisfaction event has been logged with action=searchResultPage and query=foo
Scenario 2
- Navigate to https://en.wikipedia.beta.wmflabs.org/
- Disable V2 of Vector, if you're using it
- Run the following in your browser's console:
localStorage.setItem( 'wmE-sS--sessionId', 'T276474' ); localStorage.setItem( 'wmE-sS--sessionIdEndTime', Date.now() + 24 * 60 * 60 * 1000 );
- Refresh the page
- Search for "bar" using the search widget in the top right-hand corner
- Wait for ~30s
- Observe that a SearchSatisfaction event has been logged with action=searchResultPage and query=bar
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T276474#6941413 |
2 | ✅ | T276474#6941413 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T276474#6966514 |
2 | ✅ | T276474#6966514 |