[12:09:36] Pchelolo: hey, can you let me know once you have time? I want to talk about T263581 [12:09:36] T263581: Find out the reason and potentially eliminate ParserCache split on action:render - https://phabricator.wikimedia.org/T263581 [12:10:13] Amir1: I'm on vacation till sept 9th-ish [12:10:44] oh, enjoy. I bother you later then (or get it fixed by then, who knows) [12:11:29] quick idea: Do a post-ParserCache transform from local links to absolute links. It's quick, easy and doable [17:50:31] Amir1: I've found the best possible thing to break next in FlaggedRevs – use of the very old AJAX API interface: https://gerrit.wikimedia.org/g/mediawiki/extensions/FlaggedRevs/+/1515ce6369ef1d974744cb7d7078209784aed986/backend/FlaggedRevsHooks.php#23 (T94006!) [17:50:31] T94006: Remove AjaxDispatcher use from FlaggedRevs - https://phabricator.wikimedia.org/T94006 [17:50:57] oh, I've known it for a while now [17:51:20] I just was "first drop stuff, who knows we might drop parts of it as well" [17:52:25] Right. :-( [17:52:29] James_F: I'd be more than happy to review, can pick it up this weekend or next maybe [17:53:32] Sure, I might get around to it at some point myself, but right now my 'fun' is thinking about building a k8s cluster for Beta. :-( [17:57:13] that sounds awesome [18:01:28] I mean, working out if we can/how to re-use the production helm charts in Beta Cluster is likely the big blocker. A Beta Cluster that gets updated a few minutes /after/ production isn't much of a staging/test environment. :-) [18:10:02] I'm actively trying not to think about it to avoid getting nerd sniped [18:10:11] Damn, foiled! ;-) [18:10:28] :D [18:11:15] (We don't push :latest tags for those images, otherwise it'd be "simple" to just re-write the :… tag references to latest somehow.) [18:13:22] we do have a weird thing we use for termbox in the cloud [18:13:26] let me grab it [18:13:33] Oh? That'd be interesting to scour. [18:16:32] James_F: https://github.com/wikimedia/wikibase-termbox/blob/master/infrastructure/files/restarter.sh [18:16:53] `LATEST_COMMIT=$(curl -s --header 'Accept: application/vnd.github.v3.sha' 'https://api.github.com/repos/wikimedia/wikibase-termbox/commits/master')` [18:17:38] I know it's not exactly what you want but I hope it gives at least a bit of inspiration [18:18:05] Huh. Yeah, that works, albeit horribly. [18:18:20] (Why not just pull the latest tag from the docker-registry?) [18:20:07] `curl https://docker-registry.wikimedia.org/wikimedia/wikibase-termbox/tags/ | grep '\d\d\d\d-\d\d-\d\d-' | sort --reverse | head -n 1` gets you the
  • with the latest tag name. [18:22:52] you could use the docker-registry API :p [18:24:32] legoktm: Oh, sure, but that requires me to go look up what said API is. ;-) [18:24:57] https://docker-registry.wikimedia.org/v2/wikimedia/wikibase-termbox/tags/list [18:25:05] https://docs.docker.com/registry/spec/api/#tags [18:31:06] No sort order? Meh. [18:45:18] https://gerrit.wikimedia.org/g/operations/puppet/+/4c45a30ebcadcfad57a3fe0352f653a5c8121709/modules/docker_registry_ha/files/registry-homepage-builder.py#75 is what I ended up doing, it works kinda [18:55:13] also I don't see why we can't have the images publish :latest tags if it would be useful [19:09:12] legoktm: it is easy to have a :latest tag with pipelinelib -- https://github.com/wikimedia/toolhub/blob/main/.pipeline/config.yaml#L39-L41 [19:09:41] which I think is the least gross thing to do for a CD testing setup [19:35:26] bd808: Oh, yeah, if people would be OK adding that it'd make life easier, certainly.