Page MenuHomePhabricator

WCQS updates for miscweb migration to k8s
Closed, ResolvedPublic3 Estimated Story Points

Description

WCQS uses miscweb in a non-standard way. Other miscweb consumers point at miscweb directly from the caches, while WCQS routes all requests through itself and forwards static asset requests to miscweb. This is done so that wcqs can add an auth layer, if auth only existed on the backend requests and not the static assets then auth would have to be integrated into the UI and require frontend development work. The current solution allows the UI to be unaware of the auth.

As this is a unique use case it likely wasn't considered as part of the miscweb design in k8s. We will need to review how things work there and come up with a plan moving forward.

Event Timeline

Gehel triaged this task as High priority.Jan 6 2025, 2:42 PM
Gehel moved this task from Incoming to Operations/SRE on the Wikidata-Query-Service board.

Change #1118074 had a related patch set uploaded (by Jelto; author: Jelto):

[operations/puppet@production] wcqs: proxy requests to query qui to new wikikube endpoint

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

Gehel set the point value for this task to 3.Mar 17 2025, 4:30 PM

Change #1118074 merged by Bking:

[operations/puppet@production] wcqs: proxy requests to query qui to new wikikube endpoint

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

Change #1128987 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[operations/puppet@production] query_service gui: Allow proxy to k8s miscweb

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

Change #1128987 merged by Bking:

[operations/puppet@production] query_service gui: Allow proxy to k8s miscweb

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

Patch merged, needed a followup (above), everything now looks to be working as expected.