Page MenuHomePhabricator

Call setIsValidated after running validateAsType
Closed, ResolvedPublic

Description

Description

At the end of validateAsType, if the prospective return value does not contain an error, we should call Z1.setIsValidated( true ).

Ideally, we'd be able to use a function call count test to see a reduction in function call complexity as a result of this change.

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

  • setIsValidated is called on validated objects
  • we see a reduction in function call count as a result of this change

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
check off validation upon completion during executerepos/abstract-wiki/wikifunctions/function-orchestrator!478ecarggrace/T408751/mark-setIsValidatedmain
Customize query in GitLab

Event Timeline

Jdforrester-WMF changed the task status from Open to In Progress.Nov 5 2025, 6:37 PM
Jdforrester-WMF triaged this task as Medium priority.

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-11-04-215809 to 2025-11-08-223341

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

Change #1204583 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-11-04-215809 to 2025-11-08-223341

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