Page MenuHomePhabricator

Suggested Investigations: SuggestedInvestigationsCaseLookupService uses the wrong database connection
Closed, ResolvedPublic0.1 Estimated Story PointsBUG REPORT

Description

SuggestedInvestigationsCaseLookupService uses the wrong database connection, so currently fails on production to create cases

Steps to replicate the issue
  1. Define a CheckUser-SuggestedInvestigations signal
  2. Meet the conditions to trigger the signal to match

What happens?:
No new case is shown in Special:SuggestedInvestigations and a DB error is shown in the logs

What should have happened instead?:
The new case should have been shown in Special:SuggestedInvestigations

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1189139 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Use correct DB domain in SuggestedInvestigationsCaseLookupService

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

Change #1189141 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.19] Use correct DB domain in SuggestedInvestigationsCaseLookupService

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

Change #1189141 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.19] Use correct DB domain in SuggestedInvestigationsCaseLookupService

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

Mentioned in SAL (#wikimedia-operations) [2025-09-17T12:11:35Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:1189141|Use correct DB domain in SuggestedInvestigationsCaseLookupService (T404846)]]

Change #1189139 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Use correct DB domain in SuggestedInvestigationsCaseLookupService

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

Mentioned in SAL (#wikimedia-operations) [2025-09-17T12:17:22Z] <dreamyjazz@deploy1003> dreamyjazz: Backport for [[gerrit:1189141|Use correct DB domain in SuggestedInvestigationsCaseLookupService (T404846)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-17T12:25:13Z] <dreamyjazz@deploy1003> Finished scap sync-world: Backport for [[gerrit:1189141|Use correct DB domain in SuggestedInvestigationsCaseLookupService (T404846)]] (duration: 13m 37s)