#metabrainz

/

      • d4rkie joined the channel
      • 2021-01-12 01226, 2021

      • Nyanko-sensei has quit
      • 2021-01-12 01224, 2021

      • D4RK-PH0_ has quit
      • 2021-01-12 01207, 2021

      • Nyanko-sensei joined the channel
      • 2021-01-12 01238, 2021

      • d4rkie has quit
      • 2021-01-12 01202, 2021

      • d4rkie joined the channel
      • 2021-01-12 01200, 2021

      • d4rkie has quit
      • 2021-01-12 01235, 2021

      • d4rkie joined the channel
      • 2021-01-12 01258, 2021

      • sumedh joined the channel
      • 2021-01-12 01225, 2021

      • sumedh has quit
      • 2021-01-12 01239, 2021

      • sumedh joined the channel
      • 2021-01-12 01203, 2021

      • SomalRudra has quit
      • 2021-01-12 01214, 2021

      • SomalRudra joined the channel
      • 2021-01-12 01200, 2021

      • sumedh has quit
      • 2021-01-12 01203, 2021

      • sumedh joined the channel
      • 2021-01-12 01213, 2021

      • BrainzGit
        [musicbrainz-server] mwiencek opened pull request #1858 (master…mbs-10964): Add focusin/focusout polyfill for Firefox https://github.com/metabrainz/musicbrainz-server/…
      • 2021-01-12 01256, 2021

      • sumedh has quit
      • 2021-01-12 01204, 2021

      • sumedh joined the channel
      • 2021-01-12 01214, 2021

      • yvanzo
        mo’’in’
      • 2021-01-12 01205, 2021

      • sampsyo has quit
      • 2021-01-12 01251, 2021

      • sampsyo joined the channel
      • 2021-01-12 01234, 2021

      • Darkloke joined the channel
      • 2021-01-12 01256, 2021

      • D4RK-PH0_ joined the channel
      • 2021-01-12 01256, 2021

      • d4rkie has quit
      • 2021-01-12 01219, 2021

      • ruaok
        'ooooin
      • 2021-01-12 01206, 2021

      • ruaok
        zas: alastairp : did we chat more about moving jenkins from williams. I also want to deploy a typesense instance and using williams without jenkins might be a good fit.
      • 2021-01-12 01223, 2021

      • alastairp
        ruaok: MBH-547
      • 2021-01-12 01224, 2021

      • BrainzBot
        MBH-547: Provision virtual machine for jenkins https://tickets.metabrainz.org/browse/MBH-547
      • 2021-01-12 01233, 2021

      • alastairp
        (hi)
      • 2021-01-12 01242, 2021

      • ruaok
        ah, ok. when that is done, I'll start typesense on williams
      • 2021-01-12 01232, 2021

      • alastairp
        what's your thoughts on the cost of the VM? is there a limit we shouldn't go over? is it worth spending admin time trying to configure it to shut down when not in use?
      • 2021-01-12 01248, 2021

      • alastairp
        (were you even thinking of using a vm? It was a suggestion that zas had while you were on the way to the office yesterday)
      • 2021-01-12 01204, 2021

      • ruaok
        I wasn't thinking VM, but that doesn't rule it out.
      • 2021-01-12 01226, 2021

      • ruaok
        I think many of our bare metal machines are running below reasonable utilization and we should first look there.
      • 2021-01-12 01255, 2021

      • alastairp
        sure thing, let's go back and look at those when zas is available
      • 2021-01-12 01245, 2021

      • v6lur joined the channel
      • 2021-01-12 01201, 2021

      • Gazooo79494 has quit
      • 2021-01-12 01249, 2021

      • Gazooo79494 joined the channel
      • 2021-01-12 01239, 2021

      • Darkloke has quit
      • 2021-01-12 01252, 2021

      • zas
        alastairp, ruaok: I was checking VM prices, but we still have machines with enough cpu/ram/disk to host jenkins, for example cage, which is not overused atm
      • 2021-01-12 01237, 2021

      • ruaok
        then lets use cage.
      • 2021-01-12 01253, 2021

      • zas
        alastairp: ^^
      • 2021-01-12 01200, 2021

      • alastairp
        do we see any issues with running jenkins alongside mb website?
      • 2021-01-12 01214, 2021

      • ruaok
        I have no idea -- do you?
      • 2021-01-12 01204, 2021

      • alastairp
        bitmap mentioned yesterday that sometimes MBS selinium tests fail when json dumps are being generated, but that's the opposite - server load causing problems with tests
      • 2021-01-12 01218, 2021

      • alastairp
        let me compare load stats on williams and cage
      • 2021-01-12 01226, 2021

      • zas
        well, I guess high cpu usage can slow down things
      • 2021-01-12 01239, 2021

      • zas
        but if it becomes an issue we'll adapt
      • 2021-01-12 01248, 2021

      • ruaok
        if jenkins causes web site degration, it will show up on the graphs and zas will be on you like... a sysadmin on high latency...
      • 2021-01-12 01212, 2021

      • alastairp
        yeah, and it appears that there's no degradation by jenkins, it's the other way around
      • 2021-01-12 01215, 2021

      • alastairp
        OK, will do the migration
      • 2021-01-12 01249, 2021

      • alastairp
        zas: can you check if I have an account on cage?
      • 2021-01-12 01200, 2021

      • zas
        now you haver
      • 2021-01-12 01213, 2021

      • alastairp
        I'm in. thanks
      • 2021-01-12 01246, 2021

      • sumedh has quit
      • 2021-01-12 01200, 2021

      • _lucifer
        alastairp: ruaok: Mr_Monkey mentioned in his review that you have discussed how to send updates automatically when the playlist is updated through the api. Can you fill me in as well :) ?
      • 2021-01-12 01251, 2021

      • _lucifer
        (in context of the lb websockets feature)
      • 2021-01-12 01220, 2021

      • _lucifer
        I had thought about it and am thinking of doing it using a rabbitmq queue. Wanted to know if you had the same approach or some other in mind?
      • 2021-01-12 01223, 2021

      • Mr_Monkey
        I'll add some more context: PR #1212 implements playlist updates through websockets, but currently requires the front-end to send a message announcing the playlist has changed (i.e user 1 modifies a collab playlist, once that succeeds the front-end page sends a WS message, then WS server broadcasts updated playlist to other users).
      • 2021-01-12 01256, 2021

      • BrainzGit
        [listenbrainz-server] alastair opened pull request #1230 (master…dshoster-sentry): Set up dataset hoster sentry in listenbrainz labs https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01244, 2021

      • BrainzGit
        [critiquebrainz] alastair merged pull request #325 (master…dependabot/npm_and_yarn/ini-1.3.8): Bump ini from 1.3.5 to 1.3.8 https://github.com/metabrainz/critiquebrainz/pull…
      • 2021-01-12 01245, 2021

      • BrainzGit
        [critiquebrainz] alastair merged pull request #334 (master…docker-ignore): Fix ignoring some files when building Docker images https://github.com/metabrainz/critiquebrainz/pull…
      • 2021-01-12 01245, 2021

      • BrainzGit
        [critiquebrainz] alastair merged pull request #333 (master…release-drafter): Add release-drafter workflow https://github.com/metabrainz/critiquebrainz/pull…
      • 2021-01-12 01225, 2021

      • ruaok
        _lucifer: the whole thing depends on alastairp and I writing another "service layer" that emits the right sort of messages via web sockets based on the API calls that are being made. hopefully alastairp and I can work on that, (at least define it) this friday, if we can meet.
      • 2021-01-12 01221, 2021

      • Chinmay3199 joined the channel
      • 2021-01-12 01216, 2021

      • adhi001 joined the channel
      • 2021-01-12 01248, 2021

      • sumedh joined the channel
      • 2021-01-12 01232, 2021

      • reosarevok grumbles at https://tickets.metabrainz.org/browse/MBS-11291
      • 2021-01-12 01213, 2021

      • reosarevok
        yvanzo: the report should have run with the new code already today, right?
      • 2021-01-12 01217, 2021

      • BrainzGit
        [listenbrainz-server] alastair opened pull request #1231 (master…mock-playlist-metadata-lookup): Mock call to fetch_playlist_recording_metadata when getting playlists https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01221, 2021

      • reosarevok
        Maybe I missed something :/
      • 2021-01-12 01242, 2021

      • niceplaces has quit
      • 2021-01-12 01259, 2021

      • alastairp
      • 2021-01-12 01226, 2021

      • Mr_Monkey
        alastairp: Yes, I'll merge now.
      • 2021-01-12 01232, 2021

      • alastairp
        thanks!
      • 2021-01-12 01256, 2021

      • BrainzGit
        [listenbrainz-server] MonkeyDo merged pull request #1228 (master…listening-activity-test-bug): LB-781: Fix failure in UserListeningActivity.test.tsx due to new year https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01204, 2021

      • alastairp
        I think it's merge day in LB today. will try and get through most of the open ones
      • 2021-01-12 01249, 2021

      • alastairp
        ruaok: if you have time for reviews today it'd be great to get your feedback on the 5 recent PRs that I opened on LB. they're all equally important, but there's no rush to get them all done today
      • 2021-01-12 01242, 2021

      • _lucifer
        ruaok: sounds great, thanks for the info!
      • 2021-01-12 01244, 2021

      • ruaok
        alastairp: I'm hoping to get to that later today. I've been reviewing the smaller ones already.
      • 2021-01-12 01244, 2021

      • sumedh has quit
      • 2021-01-12 01251, 2021

      • alastairp
        thanks
      • 2021-01-12 01206, 2021

      • yvanzo
        reosarevok: sorry, I forgot to update cron container, that's why.
      • 2021-01-12 01217, 2021

      • alastairp
        I'll run through the depndabot ones now and then take a look at some of the older unmerged ones
      • 2021-01-12 01211, 2021

      • yvanzo
        reosarevok: updated
      • 2021-01-12 01258, 2021

      • alastairp
        ruaok: I'm still confused as to why we get this sporadic integration test failure, "psycopg2.errors.ObjectInUse: source database "template1" is being accessed by other users. DETAIL: There is 1 other session using the database."
      • 2021-01-12 01200, 2021

      • alastairp
        I thought I fixed this in all config files in https://github.com/metabrainz/listenbrainz-server… but _something_ is still connecting to template1
      • 2021-01-12 01253, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1231 (master…mock-playlist-metadata-lookup): Mock call to fetch_playlist_recording_metadata when getting playlists https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01224, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1224 (master…docker-ignore): Fix ignoring some files when building Docker images https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01203, 2021

      • reosarevok
        yvanzo: oh, ok! Thanks :)
      • 2021-01-12 01236, 2021

      • v6lur has quit
      • 2021-01-12 01223, 2021

      • yvanzo
        reosarevok: which blocked edit were you looking at recently?
      • 2021-01-12 01221, 2021

      • ruaok
      • 2021-01-12 01213, 2021

      • ruaok
        alastairp: I dont think its the consul bit in this case, since jenkins is unlikely to use that. however, the create_db.sql for timescale has a reference to template1. maybe that is it?
      • 2021-01-12 01219, 2021

      • alastairp
        ruaok: agreed that it's not consul config. the timescale part is "create database using template1", which as far as I can tell shouldn't be a problem; it's just making the defaults explicit
      • 2021-01-12 01202, 2021

      • alastairp
        my gut feel is that the issue is with some code like this: https://github.com/metabrainz/listenbrainz-server… (maybe not specifically that part)
      • 2021-01-12 01219, 2021

      • alastairp
        but as I said, I thought that I updated all of the configs
      • 2021-01-12 01237, 2021

      • alastairp
        let me double-check the jenkins workspace. maybe there's some old config files lying around there causing issues
      • 2021-01-12 01259, 2021

      • reosarevok
        yvanzo: I wasn't, IIRC. You mean what bitmap mentioned? IIRC that's about the gender merging PR I had.
      • 2021-01-12 01216, 2021

      • reosarevok
        bitmap: should we throw https://github.com/metabrainz/musicbrainz-server/… on test for CatQuest to try?
      • 2021-01-12 01240, 2021

      • reosarevok
        I could download FF 44, but if you've tested it works, that should be enough I guess :)
      • 2021-01-12 01259, 2021

      • reosarevok
        I doubt that solves the more generic problem though because I'm always on latest version and I've hit the issue a few times myelf
      • 2021-01-12 01200, 2021

      • reosarevok
        *myself
      • 2021-01-12 01245, 2021

      • devorizon joined the channel
      • 2021-01-12 01229, 2021

      • alastairp
        Mr_Monkey: ishaanshah: do you know why the webpack dockerfile includes .gitignore?
      • 2021-01-12 01233, 2021

      • alastairp
      • 2021-01-12 01240, 2021

      • alastairp
      • 2021-01-12 01249, 2021

      • alastairp
        it was explicitly added for some reason
      • 2021-01-12 01235, 2021

      • alastairp
        maybe there's a js build tool that uses it when excluding build files or something?
      • 2021-01-12 01203, 2021

      • alastairp
        ah yes, in fact. `"format": "eslint ./static/js/src --ignore-path .gitignore`
      • 2021-01-12 01217, 2021

      • Mr_Monkey
        That would make sense, although it looks odd.
      • 2021-01-12 01202, 2021

      • alastairp
        yeah. so, we removed .gitignore from the docker context: https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01208, 2021

      • alastairp
        which means it no longer exists
      • 2021-01-12 01239, 2021

      • alastairp
        I would prefer to either add a separate ignore/config file for eslint, or see what items we were actually ignoring and explicitly ignore them on the commandline
      • 2021-01-12 01240, 2021

      • d4rkie joined the channel
      • 2021-01-12 01214, 2021

      • D4RK-PH0_ has quit
      • 2021-01-12 01223, 2021

      • alastairp
        Mr_Monkey: got some minutes to help me debug this?
      • 2021-01-12 01242, 2021

      • Mr_Monkey
        Currently eating, but when I'm back for sure.
      • 2021-01-12 01247, 2021

      • alastairp
        thanks
      • 2021-01-12 01257, 2021

      • alastairp
        I say thanks a lot. maybe I should be more mean
      • 2021-01-12 01238, 2021

      • BrainzGit
        [metabrainz.org] mayhem closed pull request #342 (master…param/remove-photo): Remove Param from team page https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-01-12 01230, 2021

      • bitmap
        reosarevok: yeah we could throw it on test. maybe I should add a server-side check to the PR that defaults to the artist name too
      • 2021-01-12 01248, 2021

      • reosarevok
        Probably wouldn't hurt :)
      • 2021-01-12 01259, 2021

      • reosarevok
        I expect the issue will be solved with the react change if not before
      • 2021-01-12 01201, 2021

      • reosarevok
        But still
      • 2021-01-12 01216, 2021

      • reosarevok
        (for non-polyfill-needing stuff anyway)
      • 2021-01-12 01237, 2021

      • reosarevok
        It would make sense to default to that in case something else causes the same issue
      • 2021-01-12 01201, 2021

      • reosarevok
        It's also currently inconsistent with the way relationship credits work, it'd seem, but maybe that's intentional
      • 2021-01-12 01237, 2021

      • bitmap
        probably just due to a technical different (rel credits are stored as blank in the db if they're the same, ac names aren't)
      • 2021-01-12 01242, 2021

      • bitmap
        difference*
      • 2021-01-12 01259, 2021

      • BrainzGit
        [metabrainz.org] mayhem closed pull request #338 (master…patch-1): Minor changes https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-01-12 01241, 2021

      • BrainzGit
        [metabrainz.org] mayhem merged pull request #345 (master…ORG-40-anti-sockpuppet-coc-clause): ORG-40: Add anti‐sockpuppet clause to the Code of Conduct https://github.com/metabrainz/metabrainz.org/pull…
      • 2021-01-12 01256, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1223 (master…dependabot/pip/sphinx-3.4.1): Bump sphinx from 3.3.1 to 3.4.1 https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01256, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1219 (master…dependabot/pip/unidecode-1.1.2): Bump unidecode from 1.1.1 to 1.1.2 https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01256, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1221 (master…dependabot/pip/coverage-5.3.1): Bump coverage from 5.3 to 5.3.1 https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01258, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1220 (master…dependabot/pip/setproctitle-1.2.1): Bump setproctitle from 1.1.10 to 1.2.1 https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01200, 2021

      • BrainzGit
        [listenbrainz-server] alastair merged pull request #1217 (master…dependabot/pip/eventlet-0.30.0): Bump eventlet from 0.29.1 to 0.30.0 https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01213, 2021

      • BrainzGit
        [mmd-schema] yvanzo closed pull request #25 (master…SEARCH-630): SEARCH-630: Remove old 'type' and 'type-id' from release group search results https://github.com/metabrainz/mmd-schema/pull/25
      • 2021-01-12 01200, 2021

      • Chinmay3199 has quit
      • 2021-01-12 01239, 2021

      • alastairp
        what happens if consul-template tries to substitute a variable and it doesn't exist in consul?
      • 2021-01-12 01217, 2021

      • zas
        a variable or a key?
      • 2021-01-12 01219, 2021

      • zas
      • 2021-01-12 01200, 2021

      • alastairp
        {{template "KEY" "sentry/dsn_public"}}
      • 2021-01-12 01202, 2021

      • alastairp
        in this specific case
      • 2021-01-12 01227, 2021

      • sumedh joined the channel
      • 2021-01-12 01212, 2021

      • Mr_Monkey
        alastairp: About the .gitignore file in LB, first of all if we want to ignore some files we can use the existing `.eslintrc.js` file (`ignorePatterns` option : https://eslint.org/docs/user-guide/configuring#ig… ).
      • 2021-01-12 01213, 2021

      • Mr_Monkey
        I'm not sure exactly why the gitignore file was passed in the `format` command; the only path in there that could concern eslint is `node_modules`, which is ignored by default by ESLint (just checked the docs).
      • 2021-01-12 01213, 2021

      • Mr_Monkey
        So I think you can simply remove the .gitignore file from the dockerfile and the `--ignore-path .gitignore` from these lines: https://github.com/metabrainz/listenbrainz-server…
      • 2021-01-12 01250, 2021

      • alastairp
        yeah, I just ran eslint with and without --ignore-path and it didn't bring up anythign different
      • 2021-01-12 01219, 2021

      • Mr_Monkey
        Confirmed here too