Page MenuHomePhabricator

Cannot read properties of undefined (reading 'Z1K1')
Closed, ResolvedPublicBUG REPORT

Description

This input:

{"Z1K1":"Z7","Z7K1":{"Z1K1":"Z8","Z8K1":["Z17",{"Z1K1":"Z17","Z17K1":"Z6091","Z17K2":"Z825K1","Z17K3":{"Z1K1":"Z12","Z12K1":["Z11",{"Z1K1":"Z11","Z11K1":"Z1002","Z11K2":"wikidata item reference"}]}},{"Z1K1":"Z17","Z17K1":"Z60","Z17K2":"Z825K2","Z17K3":{"Z1K1":"Z12","Z12K1":["Z11",{"Z1K1":"Z11","Z11K1":"Z1002","Z11K2":"language"}]}},{"Z1K1":"Z17","Z17K1":"Z20420","Z17K2":"Z825K3","Z17K3":{"Z1K1":"Z12","Z12K1":["Z11",{"Z1K1":"Z11","Z11K1":"Z1002","Z11K2":"date"}]}}],"Z8K2":"Z89","Z8K3":["Z20"],"Z8K4":["Z14",{"Z1K1":"Z14","Z14K1":"Z825","Z14K2":{"Z1K1":"Z7","Z7K1":"Z31331","Z31331K1":{"Z1K1":"Z7","Z7K1":"Z808","Z808K1":["Z1"]}}}],"Z8K5":"Z825"},"Z825K1":{"Z1K1":"Z6091","Z6091K1":"Q692"},"Z825K2":"Z1002","Z825K3":{"Z1K1":"Z7","Z7K1":"Z20808","Z20808K1":"2026-05-11","Z20808K2":"Z1002"}}

resulted in:

{"Z1K1": "Z22", "Z22K1": "Z24", "Z22K2": {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z883", "Z883K1": "Z6", "Z883K2": "Z1"}, "K1": [{"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "errors", "K2": {"Z1K1": "Z5", "Z5K1": "Z507", "Z5K2": {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z885", "Z885K1": "Z507"}, "Z507K1": {"Z1K1": "Z99", "Z99K1": {"Z1K1": "Z7", "Z7K1": {"Z1K1": "Z8", "Z8K1": ["Z17", {"Z1K1": "Z17", "Z17K1": "Z6091", "Z17K2": "Z825K1", "Z17K3": {"Z1K1": "Z12", "Z12K1": ["Z11", {"Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "wikidata item reference"}]}}, {"Z1K1": "Z17", "Z17K1": "Z60", "Z17K2": "Z825K2", "Z17K3": {"Z1K1": "Z12", "Z12K1": ["Z11", {"Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "language"}]}}, {"Z1K1": "Z17", "Z17K1": "Z20420", "Z17K2": "Z825K3", "Z17K3": {"Z1K1": "Z12", "Z12K1": ["Z11", {"Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "date"}]}}], "Z8K2": "Z89", "Z8K3": ["Z20"], "Z8K4": ["Z14", {"Z1K1": "Z14", "Z14K1": "Z825", "Z14K2": {"Z1K1": "Z7", "Z7K1": "Z31331", "Z31331K1": {"Z1K1": "Z7", "Z7K1": "Z808", "Z808K1": ["Z1"]}}}], "Z8K5": "Z825"}, "Z825K1": {"Z1K1": "Z6091", "Z6091K1": "Q692"}, "Z825K2": "Z1002", "Z825K3": {"Z1K1": "Z7", "Z7K1": "Z20808", "Z20808K1": "2026-05-11", "Z20808K2": "Z1002"}}}, "Z507K2": {"Z1K1": "Z5", "Z5K1": "Z500", "Z5K2": {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z885", "Z885K1": "Z500"}, "Z500K1": "Orchestration failed with unidentified error: TypeError: Cannot read properties of undefined (reading 'Z1K1')."}}}}}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "implementationType", "K2": "Z14K2"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "implementationId", "K2": {"Z1K1": "Z6", "Z6K1": "Z23983"}}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "wasmedgeTotalExecutionTime", "K2": "67102325653618"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "wasmedgeGasCost", "K2": "5814"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "executionMemoryUsage", "K2": "4.55 MiB"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "executionCpuUsage", "K2": "67102640 \u03bcs"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "programmingLanguageVersion", "K2": "QuickJS v0.5.0-alpha"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "evaluationMemoryUsage", "K2": "137.12 MiB"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "evaluationCpuUsage", "K2": "11.418 ms"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "evaluationStartTime", "K2": "2026-05-13T23:05:14.276Z"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "evaluationEndTime", "K2": "2026-05-13T23:05:14.352Z"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "evaluationDuration", "K2": "76 ms"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "evaluationHostname", "K2": "ec43c80f9b05"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "orchestrationMemoryUsage", "K2": "157.35 MiB"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "orchestrationCpuUsage", "K2": "451.666 ms"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "orchestrationStartTime", "K2": "2026-05-13T23:05:09.901Z"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "orchestrationEndTime", "K2": "2026-05-13T23:05:15.134Z"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "orchestrationDuration", "K2": "5233 ms"}, {"Z1K1": {"Z1K1": "Z7", "Z7K1": "Z882", "Z882K1": "Z6", "Z882K2": "Z1"}, "K1": "orchestrationHostname", "K2": "9f3b511053a2"}]}}

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (852dff0)repos/abstract-wiki/wikifunctions/function-orchestrator!673jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (852dff0)repos/abstract-wiki/wikifunctions/function-evaluator!535jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (852dff0)repos/abstract-wiki/wikifunctions/wikilambda-cli!113jforrestersync-function-schematamain
utils.isZList: Don't explode if we've been passed null or undefinedrepos/abstract-wiki/wikifunctions/function-schemata!347jforresterT426273main
Customize query in GitLab

Event Timeline

ecarg triaged this task as Medium priority.Wed, May 13, 11:13 PM
ecarg changed the task status from Open to In Progress.Wed, May 13, 11:16 PM
ecarg moved this task from Incoming to Ready on the Abstract Wikipedia team (26Q4 (Apr–Jun)) board.
ecarg closed this task as Resolved.EditedThu, May 14, 11:56 AM

Execution proceeded despite no canonical connected implementation on Z825 — implementation appears to have been injected inline via Z8K4 in the request itself. Also, Z825K3 is passed as an unevaluated Z7 (call to Z20808) rather than a literal Z20420, which may have cause of the TypeError. Deferring for now.

Let's fix this to stop emitting a dev-facing error, at least? :-)

Jdforrester-WMF changed the subtype of this task from "Task" to "Bug Report".

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

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

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

Change #1287952 merged by jenkins-bot:

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

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-05-12-211330 to 2026-05-18-230044

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

Change #1289367 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-05-12-211330 to 2026-05-18-230044

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-05-12-210548 to 2026-05-19-145724

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

Change #1289373 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-05-12-210548 to 2026-05-19-145724

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