Page MenuHomePhabricator

Clean Up getTypeZID and Redundant Code in createSchema
Closed, ResolvedPublic

Description

In function-orchestrator/src/utils.js, getTypeZID and createSchema have some overlapping functionality.
This functionality likewise overlaps with the TypeKeys in function-schemata/javascript/src/schema.js.
This functionality should all be collapsed into a single utility function, ideally in function-schemata.

Event Timeline

This logic should all be collapsed with keyForGeneric, too. Type ZID inference must take into account Z9s, Z7s, and Z4s.

Change 742999 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/services/function-schemata@master] Create keys for arbitrary ZObjects in addition to types.

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

Change 744036 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/services/function-orchestrator@master] Clean up createSchema, getTypeZID, etc.

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

Change 742999 merged by jenkins-bot:

[mediawiki/services/function-schemata@master] Create keys for arbitrary ZObjects in addition to types.

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

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

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (faa93ac)

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

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

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

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

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

[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (faa93ac)

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

Change 745566 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (e130e59)

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

Change 744084 merged by jenkins-bot:

[mediawiki/services/function-evaluator@master] Update function-schemata sub-module to HEAD (e130e59)

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

Change 745566 abandoned by Jforrester:

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (e130e59)

Reason:

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

Change 744082 merged by Cory Massaro:

[mediawiki/services/function-orchestrator@master] Update function-schemata sub-module to HEAD (e130e59)

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

Change 744036 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] utils: Remove getTypeZID and instead use ZObjectKeyFactory

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

Change 744083 merged by jenkins-bot:

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

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

This was fixed a while ago and can be closed.