Page MenuHomePhabricator

Ensure Types Are Fully Resolved before Running Validation Functions
Closed, ResolvedPublic

Description

In some cases (usually compositions), the type of an object will not be fully resolved before validation is run. Look for TODO (T314383) within the function-orchestrator for details on how this can happen.

Event Timeline

This is most likely to happen in the case where a user-defined generic function is implemented as a composition, where the types are given as argument references, viz.

{
    'Z1K1': 'Z4',
    [...]
    'Z4K2': [
        'Z3',
        {
            'Z1K1': 'Z3',
            'Z3K1': {
                'Z1K1': 'Z18',
                'Z18K1': 'ZWHATEVK1'
            }
            [...]
        }
    ],
    [...]
}

where ZWHATEVK1 is an argument to the generic function.

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

[mediawiki/services/function-schemata@master] Make list, pair, and map built-in functions instead of compositions.

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

Change 822352 merged by jenkins-bot:

[mediawiki/services/function-schemata@master] definitions: Make list, pair, and map built-in functions instead of compositions

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

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

[mediawiki/tools/wikilambda-cli@master] Update function-schemata sub-module to HEAD (194e4da)

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

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

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

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

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

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

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

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

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

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

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

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

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

Change 823194 abandoned by Cory Massaro:

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

Reason:

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

Change 823191 merged by jenkins-bot:

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

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

Change 823190 merged by jenkins-bot:

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

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

Change 823189 merged by jenkins-bot:

[mediawiki/tools/wikilambda-cli@master] Update function-schemata sub-module to HEAD (194e4da)

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

Change 823192 merged by jenkins-bot:

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

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