Good morning. Got a mail reagarding org application deadline(19 feb) so putting it here :)
Piyush joined the channel
Piyush has quit
mugen joined the channel
mugen has left the channel
mugen joined the channel
d4rkie joined the channel
Nyanko-sensei has quit
sampsyo has quit
ZaphodBeeblebrox is now known as CatQuest
sampsyo joined the channel
mugen has quit
yvanzo
mo’’in’
adhawkins has quit
bitmap: CAA-indexer 'master' branch has an unreleased/undeployed patch (about S3), so I’m not sure it is okay to merge a new PR onto it, override the current image and deploy. Your review would be welcome too, see comments.
thanks for the stats review ruaok, lots of good small things to improve
ruaok
yay, very believable. thanks!
alastairp
ruaok: I was looking at the PR that you opened for metadata on playlists
mugen joined the channel
what was the motivation for introducing the query parameter to skip lookup? Is this something that you absolutely want to make available on the public endpoint?
ruaok
main motivation was for making it easier to write tests, but as I thought about it, I can see use cases where someone might skip the metadata lookup step.
alastairp
if we think that this is useful, then that's fine. however I'm not sure it makes the tests any easier to understand, we're just just swapping "remember to mock this method on a test that uses get()" with "remember to pass in metadata=false on a test that uses get"
and theoretically we should have a test that includes the metadata test anyway (mocked) to ensure that this code flow works. I think this is what you mentioned about delaying until we stop using this webservice lookup in this codeflow?
ruaok
it is certainly easier than writing a freaking mock. tests are now 2 lines shorter, which feels like a win to me. (and shorter simpler tests is something that you keep emphasising)
mas o menos. given that we need to go back and clean up the service layer, if I were to write a test right now, we'd toss that test out and have to replace it with something better later.
not enthused to write tests that didn't exist before and that won't live long.
alastairp
sure
for me, I really can't see a difference between the mental effort required to remember to copy a @mock line from an existing test and remembering to add fetch_metadata="false" to the get
but the tests are still working, and we have new useful functionality, so that's fine for now
ruaok
honestly, if we're going to quibble over sufficiently testing the playlist feature, there are large aspects that have zero tests right now. perhaps we should focus on those before getting into the weeds on the existing tests.
atj
Have you considered using a testing library that stores HTTP requests and replays them, or is that not feasible?
Much easier than mocking IME
alastairp
atj: we don't have one of those yet. it's an option, but would require integration of a new feature anyway
ruaok
right now, I want to be doing less infrastructure improvements and get back to working on some actual user facing features. which I haven't done this year, so it seems
atj
you mean you don't enjoy writing bash scripts ruaok?!
I don't have admin on https://github.com/metabrainz/brainzutils-python/. Can someone with admin add the issue-link magic so that we can link to jira with BU-nn, or give me admin on the github repo?
ruaok: yvanzo: ^
ruaok
you should be admin now
alastairp
I am, thanks
_lucifer: careful, I might have to ask you to slow down on new PRs...
adk0971 joined the channel
adk0971 has quit
adk0971 joined the channel
yvanzo
ruaok: do you still need 'ruaok' user for RabbitMQ?
ruaok
yes, it is useful for cleaning out queues and whatnot.
yvanzo
we could create an 'admin' user in docker server configs instead if you prefer
ruaok
sure, lets do that.
yvanzo
ok, will do
alastairp
iliekcomputers: I'm considering removing messybrainz-server from livegrep as the repo is archived, the code is in the LB repo so search on msb-specific code should keep working. it keeps on throwing up false positives when searching for old code/dependencies
shivam-kapila
Picard has a proposed hindi project. Nice :)
iliekcomputers
alastairp: sounds good to me
alastairp
zas: can we remove messybrainz-server repo from livegrep? It's been archived and the code moved into another repository
I see no docs in syswiki, is this something that I could have done if there were instructions?
_lucifer
alastairp: :DD
ruaok
shivam-kapila: outsidecontext : the hindi translation of Picard is actually not a project we can accept. any accepted project HAS to include some coding.
we either remove it or couple it with something that requires coding.
zas: should I add a page on syswiki with link to the repo and server login details?
zas
yup
adk0971 has quit
alastairp
zas: what's the server?
adk0971 joined the channel
sumedh joined the channel
iliekcomputers
alastairp: i'm not sure if you have access but livegrep.metabrainz.org would work for ssh, no?
ruaok
I dont even have access. :)
adk0971 has quit
iliekcomputers
#leastprivilege
:)
ruaok
yvanzo: shall we pick a time for the release today?
yvanzo
ruaok: whenever you are free, can be now.
ruaok
now is good.
let me update the tag on my image.
yvanzo
ok
ruaok
do you have the upgrade steps documented somewhere?
yvanzo
I will compile notes for LB
ruaok
thx
antlarr2 joined the channel
antlarr has quit
mugen joined the channel
outsidecontext
ruaok: ok, I'll remove it. I haven't edited the page yet, the project was there from last year. I wasn't involved in the discussion, was it acceptable back then?
ruaok
naw, it should've never been there, but no big deal.
ruaok: if we can merge this, I'll use it to add a proper docs page for the stats PR
ruaok
ok, I'll look at it when I'm idle during this release process.
yvanzo: I'm sanity checking your PRs and I've found that listenbrainz-websockets-{beta|prod|test} is also a consumer. can you please add that to the consumer PR?
I also found another producer. should I update the PRs instead? your call.
listenbrainz-websockets-{beta|prod|test} -> consumer and listenbrainz-api-compat-prod -> producer.
yvanzo
thanks, I will add them both
ruaok
thank you!
ok, both look good.
yvanzo
ruaok: updated
ruaok
approved.
yvanzo
so, just to confirm, the other containers are not using RabbitMQ? labs-api-prod, api-compat-nginx, cron, timescale, mbid-mapping, typesense, redis