Description
Currently, if a wikilambda_fetch operation goes wrong, the orchestrator will surface an exception when it tries to access undefined.wikilambda_fetch. This is not good. The orchestrator should return a Z22 with an error in its metadata.
Also, the Z22 returned is a little odd, since it populates neither the result nor the error, which should never happen.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- failed fetches return an error
- bug will be filed to determine why a degenerate Z22 arises in this case
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist