[00:19:28] Tekneos: this page should have some helpful deets https://wikitech.wikimedia.org/wiki/Help:Toolforge/Envvars [00:19:37] oh I just read the rest of your message which implies you already know about that page [00:20:56] Yeah looks like it should be persisted just fine? https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Envvars_Service [01:43:08] Very helpful thank you perryprog.  I had read through the user documentation previously, but wasn't aware of the admin page. That confirms what I suspected - looks like the environment variables are stored as kubernetes secrets, which definitely persist. [01:57:00] Maybe it would be worth adding something like this to the EnvVars user docs? To make it explicit. [01:57:00] "Environment variables created via the toolforge CLI are persistent, and don't need to be recreated due to server upgrades, reboots, etc. They can be used for long-term storage of application secrets." [08:32:40] Hey all, been around 36 hours since the last pageviews dump came out. Didn't see a phab ticket, are we tracking that? [09:05:58] !log tools.slf Deleted old gerrit SSH key T431944 [09:06:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.slf/SAL [09:06:02] T431944: SLF bot isn't seemingly running every week - https://phabricator.wikimedia.org/T431944 [15:32:55] Tekneos: yep, they are stored long-term (until you delete them manually), they persist as k8s secrets [18:09:06] !log jeanfred@tools-bastion-15 tools.integraality Deploy a350d45 (Extract AnyOfPropertiesReferenceCheck from PropertyReferenceCheck) for T428637 [18:09:09] !log jeanfred@tools-bastion-15 tools.integraality Deploy ad71cc9 (Simplify PropertyReferenceCheck to take a single property string) for T428637 [18:09:10] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:11] !log jeanfred@tools-bastion-15 tools.integraality Deploy 5c0ad71 (Introduce MultiPropertyReferenceCheck base class) for T428637 [18:09:12] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:13] !log jeanfred@tools-bastion-15 tools.integraality Deploy bc7a5b2 (Add AllPropertiesReferenceCheck with + syntax (AND)) for T428637 [18:09:14] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:15] !log jeanfred@tools-bastion-15 tools.integraality Deploy d1bba64 (Add P123/S248=Q19216625 syntax for value-constrained reference checks) for T428637 [18:09:16] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:17] !log jeanfred@tools-bastion-15 tools.integraality Deploy 8c5e68c (Refactor MultiPropertyReferenceCheck to use (property, value) tuples) for T428637 [18:09:19] !log jeanfred@tools-bastion-15 tools.integraality Deploy ba0e0f9 (Add value constraints in multi-property reference lists (S248=Q...+S813)) for T428637 [18:09:20] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:22] !log jeanfred@tools-bastion-15 tools.integraality Deploy 6c43294 (Refactor ColumnMaker.make() into focused helper methods) [18:09:22] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:24] !log jeanfred@tools-bastion-15 tools.integraality Deploy 5bc0f3f (Extract _parse_bool_param helper for template boolean parsing) [18:09:24] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:25] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:26] !log jeanfred@tools-bastion-15 tools.integraality Deploy 622e6ac (Rename stats_for_no_group → row_no_group) [18:09:26] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:27] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:28] !log jeanfred@tools-bastion-15 tools.integraality Deploy 2018d1e (Add row_totals template parameter to toggle totals row) [18:09:29] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:09:30] !log jeanfred@tools-bastion-15 tools.integraality Deploy b4c3782 (Migrate deprecated template params during dashboard updates) [18:09:32] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [18:42:21] Hello, who is there? [18:45:53] Can I run AI localy in Toolforge? [18:50:29] Goodbye [19:28:34] I'm unable to login login.toolforge.org through SSH now. Is it down? [19:29:10] works for me, but quite laggy [19:30:25] hm, but I can’t see what’s eating the CPU… [19:30:56] last thing I did was to run a script which might be too expensive... if it's still running please kill it. [19:31:03] which script? which user? [19:31:14] user: pacmand [19:32:16] script: "python3 /tmp/v1.py" [19:32:39] killed [19:32:53] phew [19:33:17] Thank you [19:33:44] yeah `uptime` seems to be going down again [19:55:59] !log jeanfred@tools-bastion-15 tools.integraality Deploy bd653aa (Remove Ansible playbook execution verbosity) [19:56:01] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [21:03:04] hello, is it possible to serve a static website on toolforge using NGINX alone rather than something like Express ? [21:03:57] or any reverse proxy really [21:06:44] yes, see https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Lighttpd [21:06:52] (for a static website; not sure about the reverse proxy bit) [21:08:52] oh hey lucas [21:13:36] I did some work on T431363 if you're interested [21:13:37] T431363: [oauth2] handle refresh failure - https://phabricator.wikimedia.org/T431363 [21:14:09] yes, I’m still catching up on stuff after my holiday, I’ll get to it eventually :) [21:14:27] sure, no worries [21:14:39] do you know if that lighttpd thing is compatible with the `toolforge build start`-like way of doing things ? [21:16:09] someone spent quite some time helping me put that up, as I understand it's the new best way of doing things on toolforge, I don't think I want to break from it [21:17:07] not directly, I think [21:18:35] but I mean, it’s not like you’re accumulating a ton of technical debt by putting your static files in `public_html/` and running `webservice php8.4 start` (as long as you don’t have any PHP files in there) [21:18:53] you can always switch that to the build service later (just needs some static server in the image, I guess) [21:19:18] (I’m slightly surprised we don’t seem to have a “version-independent” lighttpd image AFAICT [which should then probably have php disabled and be static-only]) [21:20:18] the trouble is that I need to build the static files using Node [21:20:30] ah ok, during the build step [21:20:33] yep [21:20:38] I see [21:21:49] I do have a solution that builds it using the build service, installs express to serve it then, but I got advised that servers usually already have a reverse proxy like nginx and that it's a waste of resources to use something like express for a static app [21:21:55] in that case I’d probably put a python server inside the container image [21:22:04] actually I just realized I have a tool like that (I think) [21:22:22] yup, codex-playground [21:22:31] using uwsgi https://gitlab.wikimedia.org/toolforge-repos/codex-playground/-/blob/main/uwsgi.ini?ref_type=heads#L8 [21:22:51] I'm doing just that but with js and express rather than python (which does keep it single-language) [21:23:08] at least I think it's relatively the same thing [21:23:10] oh good there’s even a tutorial I was following at the time https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_static_tool [21:23:14] (from https://gitlab.wikimedia.org/toolforge-repos/codex-playground/-/commit/039d20f155fb2cbc579d3e02b1ab3f63ad764c59) [21:23:18] yeah, sure [21:25:00] I mostly followed this one https://wikitech.wikimedia.org/wiki/Help:Toolforge/Building_container_images/My_first_static_tool_using_Node.js (then switched to express) [21:28:48] according to this, there is an Nginx layer that serves the tools https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web [21:29:15] but if it was easily possible to configure its routes within a tool they would probably say it [21:29:17] oh well [21:32:03] yeah, it needs something to proxy to [21:32:09] it doesn’t have access to your container’s file system anyway [22:21:26] alternatively, is there a way for my tool to use express at runtime without having every `npm ci` call install express ? [22:22:43] I'm using a proxy repository now, that depends on express and clones my main repository, but it's a lot of noise for little use [22:42:30] !log jeanfred@tools-bastion-15 tools.integraality Deploy 2855e52 (Add pre-commit hook for Shell formatter shfmt) [22:42:33] !log jeanfred@tools-bastion-15 tools.integraality Deploy 6bd7972 (Reformat sal_messages_from_git_log.sh with shfmt) [22:42:33] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [22:42:34] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL [22:42:35] !log jeanfred@tools-bastion-15 tools.integraality Deploy 269bec7 (Add shfmt reformat commit to .git-blame-ignore-revs) [22:42:36] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.integraality/SAL