Page MenuHomePhabricator

Remove recommendation-api from the REST API offerings
Open, MediumPublic

Description

Per https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/NBXZSHR36ONJ5DWIS57HOEANYNYYU2UH/, the internal decision brief and the blog post at https://diff.wikimedia.org/2025/02/24/sunset-of-wikimedia-recommendation-api/, this task is about removing recommendation-api from the infrastructure

Action items

  • Block the API at the CDN level, returning a 404
  • Remove the API from RESTBase
  • Remove alerts, LVS, etc
  • Delete wikikube k8s namespace, puppet configuration, etc

Event Timeline

Per https://w.wiki/DeQh, we are well within our estimations about the day amount of requests still reaching this service. It's in the order of ~1900 and we had estimated ~2k.

akosiaris triaged this task as Medium priority.Mar 31 2025, 8:13 AM

requestctl rules set, the API now responds 403. Let's keep it like this for a week or so to see if anyone complains and then proceed with killing it.

Per https://w.wiki/DeQh, we are well within our estimations about the day amount of requests still reaching this service. It's in the order of ~1900 and we had estimated ~2k.

This is still true. Excluding an attack we received on May 13, we are still on the order of ~2k to 2.5k requests per day. I would have love to see it becoming less, but that's apparently not gonna happen. Not with the amount of out of date wikipedia apps out there.