Page MenuHomePhabricator

Write Rust Functions to Recognize Evaluator-Specific Regexes
Closed, ResolvedPublic

Description

Description

The regular expressions in function-evaluator:src/Evaluator.js will remain part of the contract for the new evaluator (at least in its first iteration). We need to be able to recognize regular expression matches and extract group information in Rust, just as we are currently doing in JS/Node.

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

  • regular expression functions in Rust!

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (a31b499)repos/abstract-wiki/wikifunctions/wikilambda-cli!90jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (a31b499)repos/abstract-wiki/wikifunctions/function-evaluator!416jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (a31b499)repos/abstract-wiki/wikifunctions/function-orchestrator!456jforrestersync-function-schematamain
Support debug logs and all relevant state machine machinery.repos/abstract-wiki/wikifunctions/function-evaluator!415apineapine-debug-logs-regexesmain
Helper Rust function to append elements to a ZList.repos/abstract-wiki/wikifunctions/function-schemata!278apineapine-zlist-utilsmain
Customize query in GitLab

Event Timeline

cmassaro changed the task status from Open to In Progress.Sep 23 2025, 10:24 AM
cmassaro claimed this task.
cmassaro reopened this task as Open.

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

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

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

Jdforrester-WMF changed the task status from Open to In Progress.Sep 25 2025, 4:58 PM

Change #1191448 merged by jenkins-bot:

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

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-09-24-083919 to 2025-09-30-194529

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-09-24-180530 to 2025-09-25-181720

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

Change #1192973 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-09-24-083919 to 2025-09-30-194529

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

Change #1192974 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-09-24-180530 to 2025-09-25-181720

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