Page MenuHomePhabricator

Use specific user agent in mediawiki api requests
Closed, ResolvedPublic

Description

Was notified by service ops that they didn't recognize the new requests coming from SUP. They apparently don't have a clearly identifying user agent. The request is:

  • Normal operations use a user agent like "WMF/SearchUpdatePipeline"
  • Backfill operations use a user agent like "WMF/CirrusBackfill"

Event Timeline

Aklapper renamed this task from Use specific user agent in mediawik api requests to Use specific user agent in mediawiki api requests.May 31 2024, 5:01 PM

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

[operations/deployment-charts@master] cirrus: Update container image and set http user agent

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

Change #1041730 merged by jenkins-bot:

[operations/deployment-charts@master] cirrus: Update container image and set http user agent

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

Verified on the Wikikube Apache 2 accesslog dashboard that our requests have transitioned from the apache user agent to an application specific useragent. For the moment the user agents are as follows. These may change in the near future, as the user agent will also be used for rate limiting and we have to decide the appropriate granularity.

  • WMF/cirrus-streaming-updater
  • WMF/cirrus-streaming-updater-backfill