Page MenuHomePhabricator

Re-design the Wikifunctions system config to be more like k8s and less encoded inside the MW app layer
Closed, ResolvedPublic

Description

Maybe something like docker-compose environmental variables (which we'll replace with k8s config)?

  • Put ENV into docker-compose config
  • Add config to know what evaluator to call for what language.
  • Split out evaluators into different services, at least one per language. – T343388

Event Timeline

why does that config variable exist at all? Isn’t it redundant with $wgServer or one of the related variables? (Also, why doesn’t it start with WikiLambda, but only with Wiki? Do you expect to move it to MediaWiki core?)

We expect it to be temporary, yes.

Jdforrester-WMF renamed this task from Consider name of $wgWikiLocation variable to Re-design the Wikifunctions system config to be more like k8s and less encoded inside the MW app layer.Jul 21 2021, 3:27 PM
Jdforrester-WMF updated the task description. (Show Details)

Change 767196 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] [WIP] Remove evaluator and wiki api from requests

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

Change 767199 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/services/function-orchestrator@master] [WIP] Replace evaluator and wiki urls to come from env instead of request data

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

Change 767199 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Replace evaluator and wiki urls to come from env instead of request data

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

Change 767196 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Remove evaluator and wiki API URIs from requests

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

gengh removed gengh as the assignee of this task.Aug 18 2022, 3:15 PM