We need to make sure that the following messages don't end up in dead letter queue, so that we don't get false positive incidents.
Acceptance criteria
Messages with fail reason page not found and 403 Forbidden are not being sent to the dead letter queue.
ToDo
- update structured-data service to log the page not found and 403 Forbidden messages instead of sending to DLQ
- deploy to the dev environment and test
Examples of the messages
{
"name": "храбрый",
"identifier": 121752,
"abstract": "",
"date_created": null,
"date_modified": null,
"date_previously_modified": null,
"article_body": null,
"license": [],
"visibility": null,
"event": {
"wikimedia_enterprise.general.schema.Event": {
"identifier": "9c65a417-9bda-4644-8dd0-c8133a119253",
"type": "create",
"date_created": {
"long": 1677950692000920
},
"fail_count": 2,
"fail_reason": "403 Forbidden:{\"type\":\"https://mediawiki.org/wiki/HyperSwitch/errors/access_denied#revision\",\"title\":\"Accesstoresourcedenied\",\"method\":\"get\",\"detail\":\"Accessisrestrictedforrevision12834152\",\"uri\":\"/ru.wiktionary.org/v1/page/html/%D1%85%D1%80%D0%B0%D0%B1%D1%80%D1%8B%D0%B9\"}"
}
}
}{
"name": "Шаблон:Линия_Лимерик-Рослэр",
"identifier": 2222182,
"abstract": "",
"date_created": null,
"date_modified": null,
"date_previously_modified": null,
"event": {
"wikimedia_enterprise.general.schema.Event": {
"identifier": "9f6e02f6-0233-4b84-b18b-736b34e0871b",
"type": "update",
"date_created": {
"long": 1677770367833791
},
"fail_count": 2,
"fail_reason": "page not found"
}
}
}