Page MenuHomePhabricator

Add a result-freshening parameter & capability to function-call requests
Closed, ResolvedPublic

Description

Description

This Boolean parameter will be set by WikiLambda when it composes a function-call request, as part of the request. When the parameter is true, the Orchestrator will ensure that all retrieved content ( ZObjects from WikiLambda and Wikidata entities from Wikidata APIs) are fresh with respect to their original sources. When false, the Orchestrator will pull content from memcached as usual. The Orchestrator will propagate the parameter along with the Request throughout processing, as needed.

  • The parameter will be called getFreshResult, and will appear directly inside the body element of the request coming to the Orchestrator (the same location as the existing parameter doValidate).
  • It may also be passed to the Evaluator, if appropriate.

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Drop exchange format v3.0.0, all users have migrated to v3.0.1repos/abstract-wiki/wikifunctions/function-schemata!415jforrester3.0.0-wind-downmain
Adopt exchange format 3.0.1repos/abstract-wiki/wikifunctions/function-orchestrator!825dmartinT433459-3main
Update function-schemata sub-module to HEAD (82e5732)repos/abstract-wiki/wikifunctions/function-orchestrator!824dmartinsync-function-schematamain
Update function-schemata sub-module to HEAD (82e5732)repos/abstract-wiki/wikifunctions/wikilambda-cli!133jforrestersync-function-schematamain
exchange format: Add 3.0.1, carrying getFreshResultrepos/abstract-wiki/wikifunctions/function-schemata!408dmartinT433459main
Customize query in GitLab

Event Timeline

DMartin-WMF renamed this task from Add a result-freshening parameter to accompany function-call requests to Add a result-freshening parameter & capability to function-call requests.Jul 29 2026, 4:36 AM
DMartin-WMF triaged this task as Medium priority.
DMartin-WMF changed the task status from Open to In Progress.Sep 4 2026, 4:49 PM
DMartin-WMF claimed this task.

apine merged https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator/-/merge_requests/812

Result freshening: Report Wikidata entities retrieved from memcached, add request flag getFreshResult

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

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

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

Change #1341341 merged by jenkins-bot:

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

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-08-175644 to 2026-09-14-201648

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-08-173612 to 2026-09-16-123542

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

Change #1342267 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-08-175644 to 2026-09-14-201648

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

Change #1342268 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-08-173612 to 2026-09-16-192603

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-14-201648 to 2026-09-16-212211

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

Change #1342379 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-14-201648 to 2026-09-16-212211

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-16-212211 to 2026-09-23-002803

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-16-192603 to 2026-09-23-042024

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

Change #1344282 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-16-212211 to 2026-09-23-002803

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-16-212211 to 2026-09-22-135346

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

Change #1344283 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-16-192603 to 2026-09-23-042024

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

Change #1344297 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-16-212211 to 2026-09-22-135346

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

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

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

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-22-135346 to 2026-09-30-134115

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-23-042024 to 2026-09-30-134715

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

Change #1346612 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-09-22-135346 to 2026-09-30-134115

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

Change #1346613 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-23-042024 to 2026-09-30-134715

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

Change #1346583 merged by jenkins-bot:

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

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