You are browsing a read-only backup copy of Wikitech. The live site can be found at

Nova Resource:Tools.notwikilambda/SAL

From Wikitech-static
Revision as of 20:56, 19 October 2021 by imported>Stashbot (wm-bot: <lucaswerkmeister> previous log messages all related to T293828)
Jump to navigation Jump to search


  • 20:56 wm-bot: <lucaswerkmeister> previous log messages all related to T293828
  • 20:41 wm-bot: <lucaswerkmeister> added $wgMemoryLimit = '1G'; to LocalSettings.php
  • 20:32 wm-bot: <lucaswerkmeister> added mem: 2G to ~/service.template and stop+started webservice
  • 20:26 wm-bot: <lucaswerkmeister> added git submodule update to ~/update script
  • 20:23 wm-bot: <lucaswerkmeister> git -C ~/public_html/w/extensions/WikiLambda/ submodule update


  • 20:24 wm-bot: <lucaswerkmeister> mount only function-orchestrator source into pod (8731f2ff6e), working around apparent “toolforge: tool” issue


  • 17:13 wm-bot: <lucaswerkmeister> cleaned up old replicasets: kubectl delete rs $(kubectl get rs -o json | jq -r ".items |.[] | select(.status.replicas == 0) |")
  • 16:45 wm-bot: <lucaswerkmeister> updated pygments-server to Python 3.9 (cef7948b15)
  • 16:37 wm-bot: <lucaswerkmeister> switched pygments-server from web to base image (25f8a10fa0)
  • 16:36 wm-bot: <lucaswerkmeister> switched function evaluator and orchestrator from web to base image (8424307b5d)
  • 16:29 wm-bot: <lucaswerkmeister> shortened periodSeconds of JS container probes from 15 to 5 seconds (3d658c10ba)
  • 16:18 wm-bot: <lucaswerkmeister> added --no-save to npm install in function evaluator and orchestrator (266c550663) and manually reset the package-lock.json in both repos
  • 11:36 wm-bot: <lucaswerkmeister> deployed pygments-server 1ae6e19920 (preserve boolean status of exit code)
  • 10:58 wm-bot: <lucaswerkmeister> deployed new pygments-server that works with latest SyntaxHighlight (i.e. supports input files), and restored SyntaxHighlight to latest master; it turns out yesterday’s code worked perfectly fine, MediaWiki just cached a broken lexers list in APCu, which didn’t get purged by action=purge, and also didn’t show up in shell.php because the APCu cache is disabled in cli blaarggghhhh


  • 18:58 wm-bot: <lucaswerkmeister> tried to deploy new pygments-server with support for latest SyntaxHighlight; not quite working yet, but as pages with SyntaxHighlight still work (just without highlighting), I’m okay to leave it at this for now, and hopefully resume tomorrow


  • 19:57 wm-bot: <lucaswerkmeister> deleted and recreated `update` deployment, it was stuck unable to roll out a new replicaset due to quota; I’m not sure where the new replicaset came from, maybe I accidentally rollout-restarted it?


  • 23:40 wm-bot: <lucaswerkmeister> set pygments-server memory limits to 256Mi (3cea8f6a18)
  • 19:29 wm-bot: <lucaswerkmeister> undeployed workaround for T291325, seems to be fixed


  • 21:23 wm-bot: <lucaswerkmeister> successfully rolled out node12 for function-orchestrator too
  • 21:19 wm-bot: <lucaswerkmeister> successfully rolled out node12 for function-evaluator after changing `npm ci` to `npm install` (ecfa5ab9ab)
  • 21:00 wm-bot: <lucaswerkmeister> tried to deploy d028cb3667 (switch to node12) for function-evaluator but the new pod never came up so I undid the rollout; will consider further steps
  • 20:50 wm-bot: <lucaswerkmeister> set cronjob successfulJobsHistoryLimit to 0 (0aa054b391)
  • 20:40 wm-bot: <lucaswerkmeister> `git -C ~/www/js/function-orchestrator/ config pull.rebase true` ditto
  • 20:40 wm-bot: <lucaswerkmeister> `git -C ~/www/js/function-evaluator/ config pull.rebase true` to silence `git pull` warnings (presumably due to newer git in node12 container)


  • 16:47 wm-bot: <lucaswerkmeister> changed restart cronjob to 9:30 and 21:30 to avoid congestion at midnight/noon
  • 16:39 wm-bot: <lucaswerkmeister> (and reenabled SyntaxHighlight_GeSHi)
  • 16:39 wm-bot: <lucaswerkmeister> rolled back SyntaxHighlight_GeSHi to commit 580ce3425f, because I2e82e5aa2a is incompatible with pygments-server (provides input as file instead of stdin)
  • 15:48 wm-bot: <lucaswerkmeister> temporarily disabled SyntaxHighlight extension due to issues with the Pygments server
  • 15:34 wm-bot: <lucaswerkmeister> improved automatic updates of function orchestrator and evaluator, should work without downtime now
  • 10:47 wm-bot: <lucaswerkmeister> configured $wgFooterIcons if notwikilambda-configure-wgFooterIcons URL parameter isn’t set to false, working around T291325


  • 21:05 wm-bot: <lucaswerkmeister> namespace-protect ZObject and ZObject talk namespaces so nobody (not even sysops) can edit them – there should be no reason to use that namespace after T289682 and I assume WikiLambda will soon stop defining it
  • 20:43 wm-bot: <lucaswerkmeister> removed namespace protection from main namespace, now that move of ZObjects to main namespace is completed (T289682)
  • 20:19 wm-bot: <lucaswerkmeister> deployed new versions of function orchestrator+evaluator deployments which don’t skip the `npm ci` step (since the old override of the kad package doesn’t seem to be necessary anymore)
  • 19:46 wm-bot: <lucaswerkmeister> removed $wgNamespacesToBeSearchedDefault from LocalSettings.php now that the ZObject namespace is no longer used
  • 19:43 wm-bot: <lucaswerkmeister> updated and restarted function-orchestrator and function-evaluator (they were ancient, I’ll have to check why the update script doesn’t seem to update them)
  • 19:24 wm-bot: <lucaswerkmeister> kubectl create -f k8s/update/deployment.yaml # restart automatic updates (T289682)
  • 19:18 wm-bot: <lucaswerkmeister> moved all ZObject pages to main namespace using moveBatch.php (T289682)
  • 18:55 wm-bot: <lucaswerkmeister> kubectl delete deployment update # temporarily disable automatic updates since I’ll probably have to hand-edit the code for T289682


  • 17:45 wm-bot: <lucaswerkmeister> namespace-protected the main namespace so only sysops can edit it, since ZObjects are expected to move into this namespace


  • 19:55 wm-bot: <lucaswerkmeister> ran "php extensions/WikiLambda/maintenance/reloadBuiltinData.php" at ArthurPSmith’s request
  • 19:46 wm-bot: <lucaswerkmeister> ran "git -C extensions/WikiLambda/ submodule update --init --recursive", apparently the function-schemata submodule was missing?


  • 19:21 wm-bot: <lucaswerkmeister> installed TemplateStyles extension (turns out it doesn’t do what I wanted to but let’s keep it anyways)


  • 18:49 wm-bot: <lucaswerkmeister> installed MinervaNeue and MobileFrontend a few hours ago, forgot to log it earlier (T287401)


  • 21:05 wm-bot: <lucaswerkmeister> updated pygments-server to 2d4ab81a68 (prevent open(); T286724)
  • 18:49 wm-bot: <lucaswerkmeister> block external traffic to internal pods (T286724)
  • 18:24 wm-bot: <lucaswerkmeister> don’t mount service tokens into pods (T286724)
  • 17:53 wm-bot: <lucaswerkmeister> only mount ~/www/python into pygments-server pod (T286724)


  • 18:05 wm-bot: <lucaswerkmeister> fixed function orchestrator and evaluator


  • 12:23 wm-bot: <lucaswerkmeister> wiki no longer read-only (T284368)
  • 12:11 wm-bot: <lucaswerkmeister> ran extensions/WikiLambda/maintenance/reloadBuiltinData.php, most objects seemed to work, only a few errors (T284368)
  • 11:53 wm-bot: <lucaswerkmeister> tried to run extensions/WikiLambda/development/updateLanguageCodes.php, most objects failed with the same “value en for Z11K1 … invalid” error as quoted in T284368
  • 11:36 wm-bot: <lucaswerkmeister> made wiki read-only for maintenance (T284368)


  • 18:34 wm-bot: <lucaswerkmeister> deployed workaround for broken login (T284170#7129989)


  • 19:38 wm-bot: <lucaswerkmeister> deployed function-evaluator as another service (only Node supported, not Python)


  • 14:57 lucaswerkmeister: lowered CPU requests/limits of non-webservice deployments (cf. T283970#7123072)
  • 14:56 lucaswerkmeister: deployed function-orchestrator as another service
  • 11:12 lucaswerkmeister: moved kubernetes files into k8s/ and started tracking them in git


  • 21:05 wm-bot: <lucaswerkmeister> deployed rather than yesterday’s uncommitted version of it (most significant change: now on port 7879)
  • 00:17 wm-bot: <lucaswerkmeister> set up SyntaxHighlighting earlier this evening, with custom pygments-server as a separate kubernetes service


  • 19:42 majavah: bump quota to 3 services T283754


  • 21:40 wm-bot: <lucaswerkmeister> switched WSOAuth to Gerrit version


  • 14:55 wm-bot: <lucaswerkmeister> installed Scribunto, WikiEditor and CodeEditor a few hours ago; all of them seem to work fine


  • 14:28 wm-bot: <lucaswerkmeister> bumped update deployment to 3 GiB RAM


  • 22:30 wm-bot: <lucaswerkmeister> php maintenance/createAndPromote.php --force --interface-admin --sysop --bureaucrat "Lucas Werkmeister"


  • 23:40 wm-bot: <lucaswerkmeister> migrated `cron` from jstart to k8s, see deployment.yaml
  • 22:14 wm-bot: <lucaswerkmeister> installed cldr because Jforrester said so :)


  • 15:48 wm-bot: <lucaswerkmeister> set $wgMainCacheType to CACHE_DB to hopefully make login sessions more stable