Page MenuHomePhabricator

Make It Possible to import function-schemata utils, not just require()
Closed, ResolvedPublic

Description

Description

We currently have some duplicated code in the JS executor. We could avoid this by exporting function-schemata utils, rather than module.exports-ing (standard JS vs. Node). If this causes problems for other services, we can capture the imported dependencies via rollup.js.

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • duplicated function-schemata utils functions are no longer duplicated

Completion checklist

Event Timeline

Jdforrester-WMF moved this task from To triage to Backlog on the Abstract Wikipedia team board.
cmassaro changed the task status from Open to In Progress.Feb 7 2024, 12:55 AM
cmassaro claimed this task.
cmassaro removed cmassaro as the assignee of this task.
cmassaro moved this task from Backlog to In Progress on the Abstract Wikipedia team board.
cmassaro moved this task from In Progress to Backlog on the Abstract Wikipedia team board.
Jdforrester-WMF changed the task status from In Progress to Open.Feb 8 2024, 4:00 PM
cmassaro changed the task status from Open to In Progress.Feb 9 2024, 3:13 PM
cmassaro moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

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

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (786c586)

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-01-18-182456 to 2024-02-12-155846

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-01-18-182630 to 2024-02-12-160222

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

Change 1002624 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-01-18-182456 to 2024-02-12-155846

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

Change 1002625 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-01-18-182630 to 2024-02-12-160222

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-02-12-160222 to 2024-02-26-150300

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

Change 1007353 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-02-12-160222 to 2024-02-26-150300

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-02-26-150614 to 2024-03-05-140533

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

Change 1008874 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-02-26-150614 to 2024-03-05-140533

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

Change 1002570 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (97ea4cd)

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-02-26-150300 to 2024-04-03-210033

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

Change #1017061 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-02-26-150300 to 2024-04-03-210033

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

Jdforrester-WMF changed the task status from In Progress to Open.Apr 29 2024, 6:03 PM
Jdforrester-WMF moved this task from In Progress to Backlog on the Abstract Wikipedia team board.

Change #1076037 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (23ce017)

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

Change #1076037 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (23ce017)

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

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