Page MenuHomePhabricator

Flatten Lists in Evaluator Request Format
Closed, ResolvedPublic

Description

Description

It is possible to hit the JS recursion limit when preparing to send a long ZList as part of an evaluator request. We should flatten lists into JS arrays to obviate this.

TODO

  • add support for both 2.1.1 and 3.0.0 to evaluator
  • deploy evaluator
  • switch orchestrator schema version to 3.0.0
  • deploy orchestrator
  • remove 2.1.1 code and all concomitant shims

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

  • new evaluator request format with flattened lists
  • good things

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (5f8f6dc)repos/abstract-wiki/wikifunctions/wikilambda-cli!123jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (5f8f6dc)repos/abstract-wiki/wikifunctions/function-evaluator!591jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (5f8f6dc)repos/abstract-wiki/wikifunctions/function-orchestrator!733jforrestersync-function-schematamain
exchangeFormat: Also drop test_data/exchange_format_2_1_1_expectedrepos/abstract-wiki/wikifunctions/function-schemata!379jforresterunused-cleanupmain
Update function-schemata sub-module to HEAD (1ee532d)repos/abstract-wiki/wikifunctions/wikilambda-cli!122jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (1ee532d)repos/abstract-wiki/wikifunctions/function-evaluator!589jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (1ee532d)repos/abstract-wiki/wikifunctions/function-orchestrator!732jforrestersync-function-schematamain
No more v2.1.1.repos/abstract-wiki/wikifunctions/function-schemata!377apineapine-no-more-2.1.1main
Remove support for exchange format v2.1.1.repos/abstract-wiki/wikifunctions/function-evaluator!583apineapine-decommission-2.1.1-extremelymain
Update function-schemata sub-module to HEAD (054c288)repos/abstract-wiki/wikifunctions/function-orchestrator!722jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (054c288)repos/abstract-wiki/wikifunctions/function-evaluator!569jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (054c288)repos/abstract-wiki/wikifunctions/wikilambda-cli!119jforrestersync-function-schematamain
Switch to exchange format v3.0.0.repos/abstract-wiki/wikifunctions/function-orchestrator!721apineapine-switch-exchange-format-3-0-0main
Transitionally support both schema version 2.1.1 and 3.0.0.repos/abstract-wiki/wikifunctions/function-evaluator!568apineapine-transition-exchange-format-3-0-0main
Flatten representation of ZLists in exchange format.repos/abstract-wiki/wikifunctions/function-schemata!368apineapine-exchange-format-3main
Show related patches Customize query in GitLab

Event Timeline

DSantamaria changed the task status from Open to In Progress.Jun 15 2026, 1:25 PM
DSantamaria added a project: Essential-Work.

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

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

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-09-174730 to 2026-06-16-205705

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-06-11-171152 to 2026-06-16-183209

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

Change #1303433 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-09-174730 to 2026-06-16-205705

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-09-174730 to 2026-06-17-154210

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

Change #1303482 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-09-174730 to 2026-06-17-184727

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

Change #1303434 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-06-11-171152 to 2026-06-16-183209

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

Change #1302868 merged by jenkins-bot:

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

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

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

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

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

Change #1306055 merged by jenkins-bot:

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

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

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

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

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-25-145651 to 2026-06-30-213833

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-06-23-115555 to 2026-07-01-115510

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

Change #1306932 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-25-145651 to 2026-06-30-213833

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

Change #1306933 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-06-23-115555 to 2026-07-01-115510

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

Change #1306750 merged by jenkins-bot:

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

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