Page MenuHomePhabricator

Refactor the URI.query
Closed, ResolvedPublic

Description

Ticket Scope
We have refactored the underlying code that takes care of updating the "url" when the users navigates and utilize medaiWiki.

Information for QA:

  • Anything that triggers an URL change should be tested
  • Forward and Backward navigation
  • Filter selection
  • Tab selection
  • New search

Event Timeline

Change 722374 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@master] Refactor the URI.query

https://gerrit.wikimedia.org/r/722374

Change 722374 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Refactor the URI.query

https://gerrit.wikimedia.org/r/722374

Etonkovidova subscribed.

Checked in commons on betalabs - looks as it works as expected. Moving to Verify on Production.

Issue: Go to Special:MediaSearch on with no search term. Enter term and either click search or hit enter. The string would be added to the url but no search would occur. This was repeatable and not present in changes prior to this one, and present in all changes since.

Confirmed on 2 instances on windows with Chrome and Firefox, Mac with Chrome and beta cluster (now since rolled back)

Change 730208 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@master] Refactor the URI.query

https://gerrit.wikimedia.org/r/730208

Jdlrobson triaged this task as High priority.EditedOct 18 2021, 6:15 PM

The volume of errors from this bug is quite high -4481 from last 24 hrs.

Newly introduced bugs that show up on the mw-client-errors dashboard or mw-client-error editing dashboard at a rate of over 1000 errors in a 12 hr period are currently judged as train blockers [1] so this fix should be deployed sometime this week (next week at latest - see T281169#7437764).

[1] https://wikitech.wikimedia.org/wiki/Deployments/Holding_the_train#Issues_that_hold_the_train

A patch is incoming that should hopefully solve this.

The branch is being cut on Tuesday at 2am UTC. I will deploy to group 0 on Tuesday around 13:00 UTC.

If the patch in master is reviewed and merged before the cut, it will be in 1.38.0-wmf.5, else it will need a cherry-pick.

If it is serious enough, please consider backporting it to 1.38.0-wmf.4 and deploying to production (release engineering can assist as well as people attending the backport deployment window)

Jdforrester-WMF raised the priority of this task from High to Unbreak Now!.Oct 18 2021, 11:45 PM
Jdforrester-WMF subscribed.

Train blocker -> UBN! status.

Sorry, I'm a bit muddled here the reference patch was reverted in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MediaSearch/+/729919 six days ago. The re-application hasn't landed yet. Is the problem the code that was reverted (in which case, presumably this is fixed?) or the lack of this code having landed yet (in which case, is there a different patch that also needs reverting?)?

Last weeks reverted parch that was originally going out last week got reverted because of a more widespread user facing error. That was fixed but along with this the same patch is expected to fix these production errors and should now be ready at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MediaSearch/+/730208.

The issue only affects commons so there should be no issue in deploying to Group0 tomorrow. I will try and get this merged and backported Tuesday UTC to wmf.4 and wmf.5

Seddon lowered the priority of this task from Unbreak Now! to High.Oct 19 2021, 2:25 AM

Based on:

  • @hashar proceeding with train;
  • that the specific issue has been present for nearly a month;
  • that a patch is now ready and should be merged and backported Tuesday 19.

I'm bumping this back down to high.

Change 730208 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Refactor the URI.query

https://gerrit.wikimedia.org/r/730208

Change 731940 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@master] Refactor the URI.query

https://gerrit.wikimedia.org/r/731940

Change 731940 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Refactor the URI.query

https://gerrit.wikimedia.org/r/731940

Change 731961 had a related patch set uploaded (by Urbanecm; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.4] Refactor the URI.query

https://gerrit.wikimedia.org/r/731961

Change 731962 had a related patch set uploaded (by Urbanecm; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.5] Refactor the URI.query

https://gerrit.wikimedia.org/r/731962

Change 732026 had a related patch set uploaded (by Urbanecm; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.5] Refactor the URI.query

https://gerrit.wikimedia.org/r/732026

Change 732027 had a related patch set uploaded (by Urbanecm; author: Simone Cuomo):

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.4] Refactor the URI.query

https://gerrit.wikimedia.org/r/732027

Change 731961 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.4] Refactor the URI.query

https://gerrit.wikimedia.org/r/731961

Change 731962 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.5] Refactor the URI.query

https://gerrit.wikimedia.org/r/731962

Change 732026 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.5] Refactor the URI.query

https://gerrit.wikimedia.org/r/732026

Change 732027 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@wmf/1.38.0-wmf.4] Refactor the URI.query

https://gerrit.wikimedia.org/r/732027

Mentioned in SAL (#wikimedia-operations) [2021-10-19T18:45:27Z] <urbanecm@deploy1002> Synchronized php-1.38.0-wmf.4/extensions/MediaSearch/: 694580a: c02e301: MediaSearch backports(T291392, T293335, T291392, T291622, T293554) (duration: 01m 03s)

Mentioned in SAL (#wikimedia-operations) [2021-10-19T18:46:30Z] <urbanecm@deploy1002> Synchronized php-1.38.0-wmf.5/extensions/MediaSearch/: a84a675: 3231578: MediaSearch backports (T291392, T293335, T291392, T291622, T293554) (duration: 01m 03s)

Checked on commons wmf.5 - all seem to work as expected.