Page MenuHomePhabricator

Allow Extension:ReportIncident to make POST requests to wikimediats.zendesk.com
Closed, ResolvedPublic

Description

Per the parent task, we need the Incident-Reporting-System to be able to make requests to wikimediats.zendesk.com to create requests in Wikimedia production.

Details

Event Timeline

AIUI the mechansim for this is https://wikitech.wikimedia.org/wiki/Url-downloader. Noting that it says, however:

It is not a highly available service and as such no assumptions should be made in code regarding availability.

For our purposes, I think that means that if we have an error when posting to the Zendesk API because of url-downloader being unavailable or Zendesk API issues, we should show an error to the user and prompt them to email emergency@wikimedia.org

Change #1098480 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[operations/mediawiki-config@master] Add HTTP proxy for IRS Zendesk integration

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

Change #1098480 merged by jenkins-bot:

[operations/mediawiki-config@master] Configure IRS Zendesk integration

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

Mentioned in SAL (#wikimedia-operations) [2024-11-27T13:24:14Z] <mszabo@deploy2002> Started scap sync-world: Backport for [[gerrit:1098506|private: Add stub for wgReportIncidentZendeskSubjectLine (T380868)]], [[gerrit:1098480|Configure IRS Zendesk integration (T380908)]], [[gerrit:1093389|Configure instrument for the Incident Reporting System (T372823)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-27T13:30:06Z] <mszabo@deploy2002> mszabo: Backport for [[gerrit:1098506|private: Add stub for wgReportIncidentZendeskSubjectLine (T380868)]], [[gerrit:1098480|Configure IRS Zendesk integration (T380908)]], [[gerrit:1093389|Configure instrument for the Incident Reporting System (T372823)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-27T13:38:08Z] <mszabo@deploy2002> Finished scap sync-world: Backport for [[gerrit:1098506|private: Add stub for wgReportIncidentZendeskSubjectLine (T380868)]], [[gerrit:1098480|Configure IRS Zendesk integration (T380908)]], [[gerrit:1093389|Configure instrument for the Incident Reporting System (T372823)]] (duration: 13m 53s)

I think this one can skip QA; we'll have to verify this once the extension is on ptwiki.