Page MenuHomePhabricator

[SPIKE] Decide how to log cases where a Citoid request failure successfully completes via archive.org
Open, Needs TriagePublic

Description

Decision to be made

  1. How will we log cases where a Citoid request failure successfully completes via archive.org so that we can accurately assess which Citoid requests get blocked, and understand where archive.org succeeds as a fallback?

Proposal:

  • Always log the case as a failure if the original site fails, even if archive.org succeeds as a fallback
  • But add some new boolean field to the case log, to indicate whether archive.org succeeded as a fall back (e.g. outgoingReqRes.archive = 0)

Open question(s)

  1. What are the technical constrains imposed by the code and by the existing log format?
    • @Mvolz is investigating this

Event Timeline

Change #1055161 had a related patch set uploaded (by Mvolz; author: Mvolz):

[mediawiki/services/citoid@master] Log when wayback results are available

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