yes makes sense. 1.4 deprecates stuff which will be removed in 2.0
reosarevok
So I guess we should try and get these tests working, and then look at the warnings?
Well, maybe we should try to run the indexer on all entities first, to see if that works...
lucifer
i'll try to fix the tests. it looks like a real issue to me. in the meantime you can test other entities?
monkey
> Are many of your listens still without mbids? :o
jasondk: None of my listens have MBIDs unfortunately. That's true locally and on test.lb. I mainly use Spotify and local music players posting to LB, I guess neither send the MBIDs…
MrClon
reosarevok: Ok, how to setting links as ended?
monkey
What I would suggest is to wait until listens have MBIDs for all users before deploying the CB review feature. I know it's not ideal, but currently for a user like me the feature just looks broken and that can give off the wrong impression.
reosarevok
lucifer: ok, I'll do that after lunch
lucifer
thanks!
reosarevok
MrClon: it used to be super complicated, but we have new code in beta for that now :) So if you go to beta.musicbrainz.org you can set links as ended by clicking the pencil button on the same place you'd add them / remove them
opal has quit
opal joined the channel
Guest36 joined the channel
Guest36 has quit
MrClon
reosarevok: So i should POST to /ws/js/edit/create something like `{"edits":[{"id":3301206,"linkTypeID":75,"ended":false,"edit_type":91}],"makeVotable":false,"editNote":"some note"}`? `id` is relationship ID? How to get that ID?
If someone change broken link to correct, it will be new relationship with new reationship ID? Or it just update one row in urls table?
yvanzo
It depends: Small changes (such as http <-> https) can be made directly to the URL entity (just update one row in url table). Larger changes are expected to replace both the URL and the relationship with new ones.
But a relationship id cannot be reused to target another URL entity.
reosarevok
alastairp: "The fact that we can identify the same recording as being similar even with the MusicBrainz ID is different is interesting"
without?
"The data files generated by Annoy are stand-alone" this is the first mention of Annoy in the post. Either it's useful (maybe it can use more info) or it's not (and can be dropped) or it's a useful extra detail for people who know about that stuff (and then maybe it could be "The data files (generated by Annoy) are stand-alone")
"If you think that you might be interested in this, let us know" did you stop but want to write more, or is that the end? (since there's no punctuation, I'm not sure)
If it's the end, maybe "let us know!" ? :)
The general post seems good (and cool!)
alastairp
reosarevok: "even when the MBID is different", will fix
yeah, that last paragraph was from the first draft, and I guess it survived. I'll add in a bit about annoy or make the last para more generic, and make a better ending
in fact, I think there was a ! at the end
thank you
opal has quit
lucifer
reosarevok: can you please push your changes. i think i have a potential fix.
opal joined the channel
reosarevok
lucifer: sure, one sec :)
lucifer
alastairp: i forgot my jenkins password 😓, do you know how i can reset it?
reosarevok
lucifer: done
lucifer
👍 thanks!
reosarevok
Can you push to my branch?
Or should I just push this on top of the existing PR?
yes. acc to my understanding we have column names. defer and undefer take those.
reosarevok
But load_only seemed to be taking those too, when I ran just instrument
lucifer
right, it works for instrument which is surprising. the docs do not show load_only working with column names. even the args are named attrs and for defer and undefer its column key.
How the hell do all tests pass, in any case. Are the tests not actually testing indexing at all? :D
lucifer
the wonders of mocks :)
Lotheric joined the channel
reosarevok
I do feel, indeed, mocked
Lotheric
o.O
reosarevok
I wonder if it's somehow connected to PoolWorker-7 2021-08-31 12:49:03,663 DEBUG: Loading only [] on <class 'sir.schema.modelext.CustomLinkAttribute'>
(to it being passed nothing)
krishan has quit
Nope
krishan joined the channel
lucifer
i am inclined to get rid of all this entirely. i see that the default for relationship loading is lazy but cannot find the default for columns but it looks like undeferred by default.
reosarevok
Get rid of all this as in, skip eager loading completely?
lucifer
yes. for now. until we get this working.
reosarevok
Does it work if we remove the load_only call? Let's test
Looks like it's working
Slowly, but, sent 200 documents a few times
lucifer
i am curently running for url. ok so far.
reosarevok
Work, here
Seems crazy slow, but of course, it might have been crazy slow either way