Page MenuHomePhabricator

Callbacks: Identify or create an error type for disallowed callback
Closed, ResolvedPublic

Description

Description

When we determine that an implemented evaluation is requesting a callback that's not allowed, we need to return an error. This could be when Z7K1 is not an approved function. If there are other distinct conditions that disallow a callback, let's consider them also. Which error type(s) should we use? invalid_evaluation_request Is one possibility, but if that's not specific enough, we can create a new one (or more).

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

  • The error should provide clear information to the user who has implemented, or is calling, the evaluated implementation.

Completion checklist

Event Timeline

DMartin-WMF triaged this task as Medium priority.Jan 6 2026, 5:49 AM
DMartin-WMF added a project: OKR-Work.

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

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

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

Change #1230994 merged by jenkins-bot:

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

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

DMartin-WMF changed the task status from Open to In Progress.Jan 26 2026, 5:15 AM
DMartin-WMF renamed this task from Reentrancy: Identify or create an error type for disallowed reentrant call to Callbacks: Identify or create an error type for disallowed reentrant call.Jan 27 2026, 12:01 AM
DMartin-WMF updated the task description. (Show Details)
DMartin-WMF renamed this task from Callbacks: Identify or create an error type for disallowed reentrant call to Callbacks: Identify or create an error type for disallowed callback.Jan 27 2026, 12:06 AM

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-01-15-194836 to 2026-01-27-063404

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-21-135031 to 2026-01-28-071101

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

Change #1234427 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-01-15-194836 to 2026-01-27-063404

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

Change #1234428 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-21-135031 to 2026-01-28-071101

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