Page MenuHomePhabricator

Search disappearing on focus (t.useId is not a function)
Closed, ResolvedPublicPRODUCTION ERROR

Description

New error in https://www.mediawiki.org/wiki/MediaWiki_1.44/wmf.14 which seems consistent with a recent Codex deprecation (https://gerrit.wikimedia.org/g/design/codex/+/7e7f3bab6b8918f2d317f4ad59743f9bbfba3f34/CHANGELOG.md#3)
https://logstash.wikimedia.org/goto/e3c27209bd2801175d893b79ea61cb64

Given the error rate on www.mediawiki.org (984 errors in the last 24 hours) this is likely to become a train blocker.

Stack trace:

at setup  https://www.mediawiki.org/w/load.php?lang=en&modules=skins.vector.search.codex.scripts&skin=vector-2022&version=1n0g3:58:272
at jt  https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:22:309
at https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:57:358
at https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:57:514
at M  https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:57:537
at F  https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:55:898
at v  https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:53:38
at ue.c [as fn]  https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:59:30
at ue.run  https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:12:868
at https://www.mediawiki.org/w/load.php?lang=en&modules=vue&skin=vector-2022&version=n99vv:59:306
	
tags
input-kafka-clienterror-codfw, kafka, es, es, throttle-exempt, normalized_message_untrimmed

Steps to replicate the issue (include links if applicable):

  • ??
  • Focus search

What happens?:

  • Search disappears
  • JS error

What should have happened instead?:
No error, no disappearing search

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald Transcript
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdlrobson-WMF renamed this task from t.useId is not a function to Search disappearing on focus (t.useId is not a function).Jan 29 2025, 4:18 PM
Jdlrobson-WMF updated the task description. (Show Details)

Update:

  • Suspected cause of JS errors:
    • some folks are seeing vue 3.5.13 (correct for MW.org)
    • some folks are seeing vue 3.4.27 (incorrect for MW.org)
  • Check vue version in the browser via: mw.loader.using('vue').then( function ( require ) { const Vue = require( 'vue' ); console.log( Vue.version ) } );

Change #1115097 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115098 had a related patch set uploaded (by CDanis; author: Catrope):

[mediawiki/core@wmf/1.44.0-wmf.13] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115099 had a related patch set uploaded (by CDanis; author: Catrope):

[mediawiki/core@wmf/1.44.0-wmf.14] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115097 merged by jenkins-bot:

[mediawiki/core@master] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115099 merged by jenkins-bot:

[mediawiki/core@wmf/1.44.0-wmf.14] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115098 merged by jenkins-bot:

[mediawiki/core@wmf/1.44.0-wmf.13] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115114 had a related patch set uploaded (by Reedy; author: Catrope):

[mediawiki/core@REL1_42] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115115 had a related patch set uploaded (by Reedy; author: Catrope):

[mediawiki/core@REL1_43] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Jdlrobson-WMF lowered the priority of this task from Unbreak Now! to Medium.Jan 29 2025, 9:26 PM

Looks like the errors have. trailed off (this chart shows all errors on mediawiki.org)

Screenshot 2025-01-29 at 1.26.23 PM.png (580×2 px, 100 KB)

Mentioned in SAL (#wikimedia-operations) [2025-01-29T21:35:03Z] <catrope@deploy2002> Started scap sync-world: Backport for [[gerrit:1115099|resourceloader: Fix hash computation for virtual files with versionFilePath (T385055)]], [[gerrit:1115098|resourceloader: Fix hash computation for virtual files with versionFilePath (T385055)]]

Mentioned in SAL (#wikimedia-operations) [2025-01-29T21:42:07Z] <catrope@deploy2002> cdanis, catrope: Backport for [[gerrit:1115099|resourceloader: Fix hash computation for virtual files with versionFilePath (T385055)]], [[gerrit:1115098|resourceloader: Fix hash computation for virtual files with versionFilePath (T385055)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-01-29T21:52:33Z] <catrope@deploy2002> Finished scap sync-world: Backport for [[gerrit:1115099|resourceloader: Fix hash computation for virtual files with versionFilePath (T385055)]], [[gerrit:1115098|resourceloader: Fix hash computation for virtual files with versionFilePath (T385055)]] (duration: 17m 29s)

Change #1115114 merged by jenkins-bot:

[mediawiki/core@REL1_42] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Change #1115115 merged by jenkins-bot:

[mediawiki/core@REL1_43] resourceloader: Fix hash computation for virtual files with versionFilePath

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

Catrope claimed this task.