Page MenuHomePhabricator

Add error type for invalid evaluation result
Closed, ResolvedPublic

Description

There are several places in the orchestrator where we check for an invalid Z22 / Evaluation result. We are currently using Z547 / Invalid format for this error condition, but Z547 wasn't really intended for this. We should have a new error type specifically for this error condition.

Possible names might be Invalid evaluation result (especially if it's only about the Z22 format) or Invalid function response (if it covers a broader range of sins).


Completion checklist

Event Timeline

DMartin-WMF renamed this task from function-schemata: add error type for invalid evaluation result to Add error type for invalid evaluation result.Oct 26 2023, 1:14 AM
Jdforrester-WMF moved this task from To triage to Backlog on the Abstract Wikipedia team board.
DMartin-WMF claimed this task.

Reopening until the new error type has been used in the orchestrator.

DMartin-WMF renamed this task from Add error type for invalid evaluation result to Add error type for invalid evaluation result, and use in the orchestrator.Nov 7 2023, 4:37 PM
DMartin-WMF renamed this task from Add error type for invalid evaluation result, and use in the orchestrator to Add error type for invalid evaluation result.Nov 7 2023, 5:04 PM
DMartin-WMF closed this task as Resolved.

Oops - now re-closing. We already have a ticket for using the new error type: T349785

Change 974256 had a related patch set uploaded (by David Martin; author: David Martin):

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

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

Change 974256 merged by jenkins-bot:

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

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

Jdforrester-WMF moved this task from Backlog to To deploy on the Abstract Wikipedia team board.
Jdforrester-WMF subscribed.

This will need manual creation in production following https://wikitech.wikimedia.org/wiki/Wikifunctions/Runbook#Add_a_new_pre-defined_Object_in_production once this version (wmf.7) is live in production.

Jdforrester-WMF changed the task status from Open to In Progress.Nov 16 2023, 5:24 PM

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

[operations/deployment-charts@master] wikifunctions: Bump evaluators to 2023-11-20-171133

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

Change 975867 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Bump evaluators to 2023-11-20-171133

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

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

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-22-195017

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

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

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-22-195017

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

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

[operations/deployment-charts@master] wikifunctions: Switch orchestrator to 2023-11-17-200241

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

Change 976846 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-22-195017

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

Change 976848 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch orchestrator to 2023-11-17-200241

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

The code to use this is now live in the orchestrator, but the ZObject also needs to be manually created on wikifunctions.org via the script.

Change 976847 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-29-143341

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

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

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-29-143341

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

Change 978678 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch JavaScript evaluator to 2023-11-29-143341

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

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

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-29-143341 (try 3)

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

Change 978514 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Switch Python evaluator to 2023-11-29-143341 (try 3)

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