Page MenuHomePhabricator

New pre-defined built-in function: Z8xx/Get envelope from Function call
Closed, ResolvedPublic

Description

A new built-in that gets the Z22/Envelope instead the result of the Z7/Function call from a function call. This allows us to write functions against the envelope.

(This might be a bad idea, because the envelope might not be always the same?)

Signature: Z7 -> Z22

Suggested ZID: Z823 (Because Z22 is the envelope type)

  • Defined in function-schemata
  • Implemented in function-orchestrator

Event Timeline

Depends on error handling. Let's resolve error handling first.

Note that we already have Z821 and Z822 which respectively get the result and meta-data part of a Z22/response envelope.

Jdforrester-WMF renamed this task from New builtin: Get envelope from Function call to New pre-defined built-in function: Z8xx/Get envelope from Function call.Oct 3 2022, 7:35 PM

Change 857712 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/services/function-schemata@master] Add definitions for 'Get envelope from Function call'

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

Change 857717 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/services/function-orchestrator@master] Add code, test for new builtin fn 'Get envelope from function call'

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

Change 857712 merged by jenkins-bot:

[mediawiki/services/function-schemata@master] definitions: Add Z823/Get envelope from Function call and Z923 built-in

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

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

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

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

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

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

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

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

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

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

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

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

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

Change 861419 merged by jenkins-bot:

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

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

Change 861418 merged by jenkins-bot:

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

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

Change 861417 merged by jenkins-bot:

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

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

Change 861416 merged by jenkins-bot:

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

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

Change 857717 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Add code, test for new builtin fn 'Get envelope from function call'

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

Jdforrester-WMF updated the task description. (Show Details)