Page MenuHomePhabricator

BE: Clean up or re-implement unused `issueRequest()` logic
Closed, ResolvedPublic

Description

What/Why:
We have recently discovered code in the orchestrator that is meaning/useless to us.
Namely in lib/util.js we never trigger req.issueRequest(). We should remove this and any related that we will never use or is outdated for us.
Other areas TBD, but this is one function for now.

How:

  1. Figure out if we really do not need this and/or if it will be useful to keep
  2. Remove entirely or re-implement if will be useful

Event Timeline

ecarg renamed this task from BE: Clean up unused code to BE: Clean up unused `issueRequest()` logic.Oct 3 2024, 2:53 AM
ecarg renamed this task from BE: Clean up unused `issueRequest()` logic to BE: Clean up or re-implement unused `issueRequest()` logic.
ecarg updated the task description. (Show Details)
  • Why'd we switch from preq to fetch (commit 73b816b5)?
  • Did we ever actually invoke issueRequest()?

Why'd we switch from preq to fetch (commit 73b816b5)?

Because preq is no longer supported and has security issues.

Did we ever actually invoke issueRequest()?

No. :-)

Change #1078949 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-09-24-145528 to 2024-10-08-175830

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

Change #1078950 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-09-24-221243 to 2024-10-08-175510

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

Change #1078949 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-09-24-145528 to 2024-10-08-175830

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

Change #1078950 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-09-24-221243 to 2024-10-08-175510

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