Page MenuHomePhabricator

Z1K1 of Boolean not found
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
Key not found

What should have happened instead?:
Type for Boolean or a reference to Z40

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Invalid programming language (0: "O", 1: "r", 2: "c", 3: "h", 4: "e", 5: "s", 6: "t", 7: "r", 8: "a", 9: "t", 10: "i", 11: "o", 12: "n", 13: " ", 14: "g", 15: "e", 16: "n", 17: "e", 18: "r", 19: "a", 20: "l", 21: "l", 22: "y", 23: " ", 24: "f", 25: "a", 26: "i", 27: "l", 28: "e", 29: "d", 30: ".")

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Fix some aspects of error handling.repos/abstract-wiki/wikifunctions/function-orchestrator!594apineapine-better-value-keymain
Customize query in GitLab

Event Timeline

Z903 still fails to return Z1K1 or Z6K1 for a string, but we no longer get an explicit Z507/evaluation failure. I’m not sure if fixing T389487 is in scope, but the error now is:

Unable to convert to canonical form (path to the problem: "Z22K1.0")

It would appear that this error is uncatchable.

Attempting to extract a value for a non-existent key produces a standard Z511/key not found error.

Z903 still fails to return Z1K1 or Z6K1 for a string, but we no longer get an explicit Z507/evaluation failure. I’m not sure if fixing T389487 is in scope, but the error now is:

Unable to convert to canonical form (path to the problem: "Z22K1.0")

This should be resolved as of next deployment (tomorrow).

It would appear that this error is uncatchable.

Attempting to extract a value for a non-existent key produces a standard Z511/key not found error.

This part is a manifestation of T419833. Short version: that function will unfortunately need to be rewritten. I'll explain further in the other task.

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-03-12-210521 to 2026-03-18-023444

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

Change #1254929 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-03-12-210521 to 2026-03-18-023444

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

This is now deployed; from what I can tell, all of the given examples now work. Thanks for the report!