Page MenuHomePhabricator

Support Evaluator-Orchestrator Callbacks in Wikifunctions Backend Components
Closed, ResolvedPublic

Description

This can build on previous prototyping work, from which some code still exists, but should also meet requirements identified for the initial deployment in FY26 Q3.

Victory Conditions

  • Evaluator-Orchestrator Callbacks in Python and JavaScript are working
  • It supports the syntax determined by T415235
  • It relies on the value of Z16K3 to know whether to open a Web socket for Evaluator-Orchestrator communications (T413943) Declined
  • Only selected functions (see T413846) can be called
  • Function calls are assembled in evaluator code, but not by the executors
  • For testing, a stub Orchestrator will handle re-entrant requests

Note: Orchestrator-Evaluator Callbacks have previously been called "reentrant calls"; we've decided not to use "reentrant" and " reentrancy" anymore, but those terms still appear in some places.

UPDATE, 9 April 2026: Closing this ticket because it's just a grouping ticket and it's no longer needed. 2 of its child tasks are being reparented under Q4 Hypothesis ticket T421848:

  • T413847 Implement Evaluator functionality for Evaluator-Orchestrator Callbacks
  • T415480 Implement Orchestrator functionality for Evaluator-Orchestrator Callbacks

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
cmassaro renamed this task from Create Re-Entrant Evaluator for JavaScript to Create Re-Entrant Evaluator for JavaScript and Fix Re-Entrancy for Python.Apr 16 2024, 5:20 PM
cmassaro updated the task description. (Show Details)
DMartin-WMF raised the priority of this task from Low to Medium.Jan 6 2026, 5:41 AM
DMartin-WMF added a project: OKR-Work.
DMartin-WMF changed the task status from Open to In Progress.Jan 7 2026, 6:04 PM
DMartin-WMF claimed this task.
DMartin-WMF renamed this task from Create Re-Entrant Evaluator for JavaScript and Fix Re-Entrancy for Python to Support Evaluator-Orchestrator Callbacks in Python implementations.Jan 26 2026, 2:27 AM
DMartin-WMF updated the task description. (Show Details)
DMartin-WMF renamed this task from Support Evaluator-Orchestrator Callbacks in Python implementations to Support Evaluator-Orchestrator Callbacks in Wikifunctions Backend Components.Jan 26 2026, 4:48 AM
DMartin-WMF updated the task description. (Show Details)
DMartin-WMF updated the task description. (Show Details)