we haven't started throwing you down that rabbit hole, akshat. it will take more time than a short convo to get you bootstrapped int our production setup
akshat
Hahah okayy
lucifer we are about to reach 10k downloads on mb android app soon. I would like to have a blog and some additional features out by then. We have around a month before that happens. Would you suggest any major updates for it? Currently we have the theme changes and some basic stuff
monkey
Well, it's not that tricky now that githug builds the images for us. Once the action is finished, SSH into the kiss server and you're two commands away: sudo su and once logged in as root: `~/docker-server-configs/scripts/update_services.sh test listenbrainz-web`
Or alternatively, for today, you can ask me to deploy :p
akshat
Great monkey. But I do feel that currently I don't have the use case to deploy on test because that would mean I commit everything and have things done to test.
But for things like testing frontend stuff maybe after making a tweak, I just want to test the functionality and for that bono has been great
monkey
I hear you
akshat
Yuss
ruaok
lucifer: I can't get the tests on this to pass, ever.
same BS connection is closed error. is this an oppotunity for us to test something?
sounds good. i'll get back to you on the timeline once I get my schedule for rest of session.
ruaok
k
lucifer
ruaok: lgtm but acc to me this will probably eat up the original stack trace. if this is just for that resource is closed error, then its probably fine. because the stack trace is not useful for that anyways.
ruaok
if it gets in the way, we can always remove it.
alastairp
it re-raises the error though, and str(err) is just going to be the final item in the stacktrace anyway. what's the motivation for adding the extra log line?
ruaok
but this has made debugging tests very frustrating.
lucifer
👍
alastairp
or did you intend to not include the `raise`?
ruaok
alastairp: something about the tests eats the error message and I get no meaningful error.
this way I get a message in the test debugging when code in this block fails.
alastairp
ah, interesting. sure, if this helps you get a notification about the error then that's fine
ruaok
ok, then that PR is ready.
alastairp
as lucifer says, you won't get a specific traceback, perhaps you could use the traceback module to get it if you need it
ruaok
lucifer: once we merge that we'll need to dump a full dump to catch up. or we could be lazy about it and just wait a few days.
🦥
alastairp
I wonder if we need a sentinel that we can add to comments indicating our various hacks so that we can go back and re-address them in the future to see if they've fixed
lucifer
some time ago, i faced this issue. full traces not showing up. i setup a personal account on sentry.io and configured sentry in my test runs. turned out to be useful some times.
ruaok: fine with waiting. less than a week left.
ruaok
k. a lot less hassle.
sorry rak.
Nov 1/2 everything should be better.
reosarevok
> or did you intend to not include the `raise`?
No takebacks, we were promised a `raise`
reosarevok hides
lucifer
🤣
alastairp
it's in the context of an exception, and you're clearly an exceptional case, reosarevok
reosarevok
That's me. An exceptional error.
monkey
Exquisite
alastairp
exceptions: things that shouldn't happen in normal day-to-day situations
ruaok
finally! the office fibre connection has finally been changed into my name. took 4 months.
now to see how long it take for them to start billing the right account.
lucifer
ruaok: btw the stripe PR is ready for review.
ruaok
ah yes. thanks for the nudge.
how about the two TODO items without a check?
rak
ruaok: Yeah, I use https://beets.io/ to tag my music, so the tags should be equivalent to what picard would give. And sure, I can wait until early November for stats to catch up.
lucifer
yes one is once you take a look, let me know if somewhere docs could be improved.
ruaok
rak: really? those listens come from tagged tracks? remind me you LB user name again, something is amiss.
lucifer
the other one is that stripe advises to return a HTTP 200 response as soon as possible. currently what we do is , return HTTP 200 after inserting in db. is that fine or should we respond before even inserting?
alastairp
lucifer: is this the response of MeB to stripe in a webhook?
ruaok
that sounds fine to me. I am guessing they don't want you to wait minutes or hours.
lucifer
alastairp: yes
alastairp
I think that "as soon as possible" in this context also includes "as soon as you've actually done something useful with the data"
ruaok
that
lucifer
ah yes, makes sense.
rak
ruaok: ryanakca . I'm scrobbling with mpdscribble via the proxy interface