16:17 PM
lucifer
for first we need sql.Identifier, other two sql.SQL probably.
16:17 PM
alastairp
and because copy_expert quotes everything, it's trying to quote the function calls and then not finding a "column" with that name?
16:17 PM
lucifer
yes
16:18 PM
alastairp
and if we actually make a specific type, it'll do the right thing?
16:18 PM
lucifer
we can either change the str to correct type in the definition dicts linked above. or add an if/else for in the list comprehension in the code linked above
16:18 PM
yes
16:18 PM
alastairp
that seems nice. what's the other option? disable quoting in this case, knowing that the first 4 are valid column names that we control?
16:19 PM
lucifer
yup skip all quoting
16:20 PM
alastairp
the first option sounds a bit better. can we do sql.Identifier(col) if col is a string, otherwise copy it as defined in the dict?
16:21 PM
lucifer
yes that's possible.
16:21 PM
but since its one time thing i don't mind specifying all columns as identifier as needed.
16:23 PM
alastairp
and do we also use sql.Identifier in the import?
16:23 PM
yvanzo
Thanks alastairp!
16:23 PM
alastairp
np. thanks for valuing my input :)
16:23 PM
yvanzo
16:23 PM
lucifer
i changed the imports so that we only have to write Identifier and not sql.Identifier
16:25 PM
alastairp
I'm not a huge fan of adding `Identifier` to all 200 definition lines, but I'm not hugely worried either way. If you think it's easier to follow by adding it to all column definitions then that sounds fine
16:26 PM
yvanzo
(fixed a broken link)
16:27 PM
bitmap, lucifer: Even though the guidelines are not just about documentation but also implementation, a first step would be to simply document current deviations from the recommended implementation.
16:41 PM
skelly37 joined the channel
16:43 PM
lucifer
alastairp: makes sense
16:44 PM
yvanzo: thanks, yes makes sense to do that.
16:44 PM
alastairp: any other PRs to merge for CB release?
16:45 PM
alastairp
lucifer: one sec, just opening one now ;-)
16:45 PM
lucifer
ah cool
16:45 PM
BrainzGit
16:48 PM
16:48 PM
alastairp
lucifer: would be great to get that one in. tests are passing for me, but we can also release to beta and try some invalid params
16:51 PM
lucifer
alastairp: beta first sounds good.
17:05 PM
reosarevok
17:05 PM
On checking it again, it kinda seems that either the beta command should be moved to syswiki, or the "Deploy webservice and website" bit of syswiki to RELEASING
17:06 PM
Releasing updated beta
17:08 PM
BrainzGit
17:12 PM
17:22 PM
reosarevok
Releasing prod
17:23 PM
alastairp
lucifer: beta updated
17:23 PM
17:23 PM
lucifer
LB prod updated
17:24 PM
looks good, alastairp!
17:24 PM
alastairp
17:24 PM
and that seems to be fine
17:25 PM
curl dump headers shows `location: /release-group/a106e33b-e440-3ff3-9250-c6408ed73e60` (location now relative to the current host)
17:25 PM
lucifer
makes sense
17:25 PM
yvanzo
reosarevok: Yes, especially the notes. But if more details have to be added about hosts and containers, it can be added to syswiki instead.
17:26 PM
alastairp
cool, I'll go ahead with prod release then
17:26 PM
lucifer
great, thanks!
17:26 PM
BrainzGit
17:27 PM
lucifer
i'll put the flask update PR for LB on beta for now. it seems ready so we can try to release that tommorrow
17:28 PM
alastairp
I'll keep an eye on CB cron dumps tomorrow, so we can check if they're working
17:28 PM
lucifer
sounds good
17:28 PM
alastairp
something seems a bit funny with docker caching on github actions, I've had to build this image 3 times this evening
17:29 PM
lucifer
oh, do we not have a critiqubrainz/cache image setup?
17:30 PM
alastairp
I thought we did
17:30 PM
lucifer
17:30 PM
alastairp
17:31 PM
oh right
17:31 PM
oh, is this different to satackey/action-docker-layer-caching ?
17:32 PM
lucifer
yes
17:32 PM
alastairp
right, that'll be the reason then (as we have the base python image upgrade, so everything is invalidated)
17:33 PM
lucifer
this metabrainz/critiquebrainz:cache is a docker buildx cache in docker hub. that other action caches image layers in actions cache.
17:33 PM
yup, plus tests/dev uses separate dockerfile
17:33 PM
alastairp
yeah right. my recollection was that we used the satackey one for both caches, but I was wrong
17:33 PM
oh yeah, I still have an open ticket for that :)
17:34 PM
lucifer
we used to have that. but the satackey caches often get invalidated by test runs so we switched it for prod images.
17:34 PM
alastairp
got it
17:39 PM
CB released
17:39 PM
thanks lucifer, see you tomorrow
17:39 PM
lucifer
thanks you too!
17:46 PM
BrainzGit
17:47 PM
alastairp
well that was fast ;)
18:12 PM
ansh
18:15 PM
KevlarNoir joined the channel
18:16 PM
reosarevok
yvanzo: blog draft ready for review
18:16 PM
I closed it and all, hopefully it won't whine :p
18:34 PM
bitmap
18:37 PM
reosarevok
bitmap: can you take a look at the blog post? :)
18:37 PM
(would like to finish releasing soon)
18:37 PM
bitmap
sure
18:37 PM
yvanzo
bitmap: doesn’t it depend on dbmirror2?
18:38 PM
bitmap
nope, it just stores the index 'events' in pg
18:41 PM
yvanzo
I closed the ticket as won't do then.
18:46 PM
PrathameshG_ joined the channel
18:46 PM
Leftmost_ joined the channel
18:46 PM
monkey_ joined the channel
18:47 PM
bitmap
okay, I will still need to document maintenance steps for artwork-indexer more throroughly, but can create tickets for that when needed
18:48 PM
Arsen_ joined the channel
18:48 PM
chrisshepherd_ joined the channel
18:48 PM
reosarevok: the blog post looks good, I think
18:48 PM
reosarevok
Thanks!
18:49 PM
atj1 joined the channel
18:50 PM
Oh, I see yvanzo made a small change, thanks too
18:50 PM
yvanzo
I’m just fixing tickets’ title
18:50 PM
reosarevok
Ok
18:50 PM
I'll wait
18:50 PM
yvanzo
But the editor is too slow for me.
18:50 PM
PrathameshG has quit
18:50 PM
Leftmost has quit
18:50 PM
santiagofn has quit
18:50 PM
ephemer0l has quit
18:50 PM
atj has quit
18:50 PM
chrisshepherd has quit
18:50 PM
monkey has quit
18:50 PM
Arsen has quit
18:50 PM
Leftmost_ is now known as Leftmost
18:50 PM
monkey_ is now known as monkey
18:50 PM
PrathameshG_ is now known as PrathameshG
18:51 PM
qookie has quit
18:51 PM
Arsen_ has quit
18:51 PM
qookie joined the channel
18:51 PM
Arsen joined the channel
18:53 PM
reosarevok
Just wordpress things
18:54 PM
yvanzo
reosarevok: done
18:54 PM
reosarevok
Thanks!
18:58 PM
BrainzGit
18:59 PM
yvanzo
bitmap: About service usage: I added MBS-12440 to relax requiring Redis only when needed.
18:59 PM
BrainzBot
19:01 PM
santiagofn joined the channel
19:04 PM
bitmap
yvanzo: makes sense. thanks
19:12 PM
atj1 is now known as atj
19:14 PM
vardan joined the channel
19:16 PM
BrainzGit
19:51 PM
reosarevok
20:15 PM
skelly37 has quit
20:40 PM
ephemer0l joined the channel
20:56 PM
qookie has quit
20:57 PM
qookie joined the channel
20:58 PM
qookie has quit
20:58 PM
qookie joined the channel
21:27 PM
odnes has quit
22:02 PM
vardan has quit
22:30 PM
strider has quit
22:31 PM
strider joined the channel
22:42 PM
strider has quit
23:35 PM
strider joined the channel