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

Difference between revisions of "Nova Resource:Tools.notwikilambda/SAL"

From Wikitech-static
Jump to navigation Jump to search
imported>Stashbot
(wm-bot: <lucaswerkmeister> set pygments-server memory limits to 256Mi (3cea8f6a18))
imported>Stashbot
(wm-bot: <lucaswerkmeister> mount only function-orchestrator source into pod (8731f2ff6e), working around apparent “toolforge: tool” issue)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== 2021-10-06 ===
* 20:24 wm-bot: <lucaswerkmeister> mount only function-orchestrator source into pod ({{Gerrit|8731f2ff6e}}), working around apparent “toolforge: tool” issue
=== 2021-09-25 ===
* 17:13 wm-bot: <lucaswerkmeister> cleaned up old replicasets: kubectl delete rs $(kubectl get rs -o json {{!}} jq -r ".items {{!}}.[] {{!}} select(.status.replicas == 0) {{!}} .metadata.name")
* 16:45 wm-bot: <lucaswerkmeister> updated pygments-server to Python 3.9 ({{Gerrit|cef7948b15}})
* 16:37 wm-bot: <lucaswerkmeister> switched pygments-server from web to base image ({{Gerrit|25f8a10fa0}})
* 16:36 wm-bot: <lucaswerkmeister> switched function evaluator and orchestrator from web to base image ({{Gerrit|8424307b5d}})
* 16:29 wm-bot: <lucaswerkmeister> shortened periodSeconds of JS container probes from 15 to 5 seconds ({{Gerrit|3d658c10ba}})
* 16:18 wm-bot: <lucaswerkmeister> added --no-save to npm install in function evaluator and orchestrator ({{Gerrit|266c550663}}) and manually reset the package-lock.json in both repos
* 11:36 wm-bot: <lucaswerkmeister> deployed pygments-server {{Gerrit|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
=== 2021-09-24 ===
* 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
=== 2021-09-22 ===
* 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?
=== 2021-09-21 ===
=== 2021-09-21 ===
* 23:40 wm-bot: <lucaswerkmeister> set pygments-server memory limits to 256Mi ({{Gerrit|3cea8f6a18}})
* 23:40 wm-bot: <lucaswerkmeister> set pygments-server memory limits to 256Mi ({{Gerrit|3cea8f6a18}})

Revision as of 20:24, 6 October 2021

2021-10-06

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

2021-09-25

  • 17:13 wm-bot: <lucaswerkmeister> cleaned up old replicasets: kubectl delete rs $(kubectl get rs -o json | jq -r ".items |.[] | select(.status.replicas == 0) | .metadata.name")
  • 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

2021-09-24

  • 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

2021-09-22

  • 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?

2021-09-21

  • 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

2021-09-20

  • 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)

2021-09-19

  • 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

2021-08-25

  • 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

2021-08-22

  • 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

2021-08-20

  • 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?

2021-08-14

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

2021-07-26

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

2021-07-15

  • 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)

2021-06-21

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

2021-06-05

  • 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)

2021-06-02

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

2021-06-01

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

2021-05-29

  • 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

2021-05-28

  • 21:05 wm-bot: <lucaswerkmeister> deployed https://github.com/lucaswerkmeister/pygments-server 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

2021-05-27

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

2021-04-14

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

2021-04-10

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

2020-10-13

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

2020-10-04

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

2020-09-30

  • 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 :)

2020-09-27

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