"Koito: The modern, open source scrobbler - Explore your listening patterns, track your favorite artists, and relay scrobbles to other sites — all from a fast, themeable server that you control."
2025-08-13 22504, 2025
adhawkins has quit
2025-08-13 22526, 2025
SigHunter has quit
2025-08-13 22537, 2025
SigHunter joined the channel
2025-08-13 22512, 2025
d4rkie has quit
2025-08-13 22536, 2025
d4rkie joined the channel
2025-08-13 22505, 2025
d4rkie has quit
2025-08-13 22544, 2025
d4rkie joined the channel
2025-08-13 22527, 2025
adhawkins joined the channel
2025-08-13 22500, 2025
petitminion joined the channel
2025-08-13 22547, 2025
serra has quit
2025-08-13 22554, 2025
serra joined the channel
2025-08-13 22530, 2025
SigHunter has quit
2025-08-13 22527, 2025
SigHunter joined the channel
2025-08-13 22550, 2025
mayhem[m]
<aerozol[m]> "Looks interesting, built on LB..." <- very good that tools are doing private services, I like it.
2025-08-13 22551, 2025
lusciouslover has quit
2025-08-13 22519, 2025
lusciouslover joined the channel
2025-08-13 22553, 2025
__BrainzGit
[listenbrainz-server] 14fettuccinae opened pull request #3341 (03metabrainz-notifications…notifications): Replace send_mail instances with send_notification https://github.com/metabrainz/listenbrainz-server…
2025-08-13 22528, 2025
sbaildon has quit
2025-08-13 22537, 2025
sbaildon joined the channel
2025-08-13 22525, 2025
fettuccinae[m] joined the channel
2025-08-13 22525, 2025
fettuccinae[m]
hey mayhem: What user_id should we use for notifications sent from spark clusters?
2025-08-13 22520, 2025
fettuccinae[m] uploaded an image: (13KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/ycsLrwXeTbbXxCmCbVFnaNxL/image.png >
2025-08-13 22536, 2025
mayhem[m]
fettuccinae[m]: lucifer: do we have a specialized user for that or should we create an LB user for such things?
2025-08-13 22520, 2025
lucifer[m]
There is listenbrainz prod user and a listenbrainz stats user
2025-08-13 22525, 2025
lucifer[m]
Can use either of that
2025-08-13 22500, 2025
mayhem[m]
ah, good. do you need to know those names or user_id, @fettuccinae:matrix.org ?
2025-08-13 22507, 2025
lucifer[m]
fettuccinae[m]: Where/what triggers this notification?
2025-08-13 22516, 2025
fettuccinae[m]
mayhem[m]: user_id
2025-08-13 22517, 2025
fettuccinae[m]
lucifer[m]: that one was for importer error, where we could use musicbrainz_row_id as user_id
2025-08-13 22539, 2025
fettuccinae[m]
* that one was for importer error, where we could use musicbrainz_row_id of that user as user_id
2025-08-13 22542, 2025
petitminion has quit
2025-08-13 22521, 2025
lucifer[m]
Hmm i am confused, if you are using user id for which user to show the notification to then you don't need to anything for spark
2025-08-13 22532, 2025
lucifer[m]
Those emails are for monitoring
2025-08-13 22520, 2025
fettuccinae[m] uploaded an image: (34KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/TvvhQYytjIwAefrahRsOqUcT/image.png >
2025-08-13 22521, 2025
fettuccinae[m]
im sorry, i tried to provide context for send_notifications function earlier.
2025-08-13 22532, 2025
fettuccinae[m]
fettuccinae[m]: here, i need user_id to send notification instead of mail
2025-08-13 22535, 2025
lucifer[m]
Yeah don't change this
2025-08-13 22541, 2025
mayhem[m]
23944 is the user_id for listenbrainz.
2025-08-13 22525, 2025
lucifer[m]
Nobody is going to open or login as the listenbrainz user to view these so these should still be sent as emails
2025-08-13 22547, 2025
lucifer[m]
Use listenbrainz user id if you need a sending user id
2025-08-13 22559, 2025
fettuccinae[m]
lucifer[m]: it will be sent as emails from from MeB repo
2025-08-13 22503, 2025
fettuccinae[m]
s/from/but/
2025-08-13 22542, 2025
lucifer[m]
I understand that but I don't think we have emails setup up that way for the user in the database
2025-08-13 22529, 2025
fettuccinae[m]
ahh, understood. i wont change monitoring related email functions
2025-08-13 22524, 2025
petitminion joined the channel
2025-08-13 22527, 2025
lusciouslover has quit
2025-08-13 22539, 2025
lusciouslover joined the channel
2025-08-13 22518, 2025
lusciouslover has quit
2025-08-13 22541, 2025
lusciouslover joined the channel
2025-08-13 22528, 2025
lusciouslover has quit
2025-08-13 22551, 2025
lusciouslover joined the channel
2025-08-13 22518, 2025
mayhem[m]
zas: is minus not supposed to be able to reach postgres? I can't connect to 10.2.2.24:65437
2025-08-13 22541, 2025
mayhem[m]
s/minus/mingus/
2025-08-13 22536, 2025
petitminion has quit
2025-08-13 22554, 2025
petitminion joined the channel
2025-08-13 22530, 2025
petitminion has quit
2025-08-13 22555, 2025
petitminion joined the channel
2025-08-13 22554, 2025
zas[m]
Mingus isn't on 10.2.2.x network, try on 10.10.10.x
2025-08-13 22530, 2025
Maxr1998 has quit
2025-08-13 22504, 2025
Maxr1998 joined the channel
2025-08-13 22518, 2025
mayhem[m]
I'm getting the IP via consul. is there a different key should be querying for the replica server? I have this:
2025-08-13 22519, 2025
mayhem[m]
{{if service "pgbouncer-slave"}}... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/oUcKGlaKcEhWXZibaYOctTJC>)
2025-08-13 22532, 2025
mayhem[m]
for consul_config.py.ctmpl
2025-08-13 22541, 2025
mayhem[m]
lucifer: you might know this one too.
2025-08-13 22537, 2025
__BrainzGit
[listenbrainz-server] 14mayhem merged pull request #3341 (03metabrainz-notifications…notifications): Refactor: use send_notification instead of send_mail https://github.com/metabrainz/listenbrainz-server…
2025-08-13 22556, 2025
zas[m]
mayhem: the problem is that the service is only registered with 10.2.2.x IP, but mingus isn't connected to this network (only through the vswitch), so we have to either register services on both networks or just rewrite the IP somehow. But the new machine will have 10.2.2.x direct access.
2025-08-13 22512, 2025
mayhem[m]
then lets wait for the new machine.
2025-08-13 22542, 2025
suvid[m]
How do I run a specific frontend test?
2025-08-13 22542, 2025
suvid[m]
I tried with ./test.sh <file_name>
2025-08-13 22542, 2025
suvid[m]
but it just seems to work for backend tests
2025-08-13 22516, 2025
suvid[m]
not working for frontend tests
2025-08-13 22521, 2025
suvid[m]
ansh monkey lucifer
2025-08-13 22502, 2025
monkey[m]
suvid: If you have node installed on your machine, you can run them directly (not in docker): `npm test filename.test.tsx`
2025-08-13 22522, 2025
suvid[m]
ohh
2025-08-13 22526, 2025
suvid[m]
lemme try that
2025-08-13 22546, 2025
monkey[m]
You need to have dependencies intalled
2025-08-13 22520, 2025
suvid[m]
from the package.json file?
2025-08-13 22527, 2025
suvid[m]
let me try installing them locally
2025-08-13 22540, 2025
monkey[m]
npm install
2025-08-13 22556, 2025
lucifer[m]
mayhem: yeah, i think the database container needs to be updated to expose the database on 10.10.10.x or the machine needs to be on 10.2.2.x.