Page MenuHomePhabricator

Log HTTP error codes to mediawiki.client_error stream
Closed, ResolvedPublic5 Estimated Story Points

Description

  1. Create a funnel class that logs the appropriate status code + url that was attempted (we do this for all metrics). This may already partially be done in https://github.com/wikimedia/wikipedia-ios/pull/5716.
  2. (Legacy) Inspect status codes at the various appropriate locations in Session.swift and log via funnel class if code is >= 400.
  3. (Modern) Inspect status codes in WMFBasicService and log via funnel class if code is >= 400. In this case we will need to call a generic closure via WMFDataEnvironment to allow callback to the funnel class.

Event Timeline

Tsevener set the point value for this task to 5.Mar 24 2026, 3:30 PM
HNordeenWMF subscribed.

Match Android behavior - log errors so they can be monitored. Helps with understanding issues like rate-limited

Seddon added a project: App Experience.
Seddon moved this task from App Experience to App Growth on the WikipediaApp board.
Seddon added a project: App Growth.
Seddon moved this task from App Growth to App Experience on the WikipediaApp board.
HNordeenWMF raised the priority of this task from Medium to High.Jul 17 2026, 7:24 PM
Tsevener lowered the priority of this task from High to Medium.

Not really an easy way to QA this, but we can watch the dashboard for events coming from external beta.

Signed off from my POV if Anthony is happy with watching the dashboard for events coming from external beta