Page MenuHomePhabricator

Replace `function-schemata` Schema.validate with validate status
Closed, ResolvedPublic

Description

Currently sets errors as a member of Schema object, which won't work in an async context.

Event Timeline

Is the bool always the same as "is the list of errors empty"?

cmassaro raised the priority of this task from High to Needs Triage.Aug 3 2021, 6:31 PM
DVrandecic renamed this task from `function-schemata` Schema.validate should return pair<bool, errors> to Replace `function-schemata` Schema.validate with validate status.Oct 6 2021, 4:35 PM
DVrandecic triaged this task as Medium priority.
DVrandecic edited projects, added function-orchestrator; removed function-schemata.

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

[mediawiki/services/function-orchestrator@master] Replace schemaValidator.validate() with schemaValidator.validateStatus()

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

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

[mediawiki/services/function-orchestrator@master] Turn on validation for function call tests

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

Change 759144 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Replace schemaValidator.validate() with schemaValidator.validateStatus()

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

Change 759340 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Turn on validation for function call tests

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

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

[mediawiki/services/function-schemata@master] Remove outdated comments related to T282820

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

Change 766210 merged by jenkins-bot:

[mediawiki/services/function-schemata@master] Remove outdated comments related to T282820

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

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

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

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

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

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (a28d2df)

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

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

[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (a28d2df)

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

Change 767201 had a related patch set uploaded (by Jkieserman; author: Jkieserman):

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

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

Change 767204 had a related patch set uploaded (by Jkieserman; author: Jkieserman):

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

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

Change 766886 merged by jenkins-bot:

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

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

Change 766888 merged by jenkins-bot:

[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (a28d2df)

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

Change 766887 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (a28d2df)

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

Change 767201 abandoned by Jforrester:

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

Reason:

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

Change 767204 abandoned by Jforrester:

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

Reason:

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