NOTICE: LB-2031 (https://tickets.metabrainz.org/browse/LB-2031): Link Listens page creates duplicates upon link or delete
2026-09-28 27119, 2026
Abhishek19[m]
Hello everyone, I investigated LB-2031 locally and the duplicate rows seem to come from non-unique React keys in LinkListens.tsx. Different MSIDs can end up with the same recording_name + artist_name + listened_at key.
Before I implement anything, could someone confirm whether recording_msid is guaranteed to be unique for each unlinked-listen row? If yes, I’d like to work on the ticket and add a regression test for it.
2026-09-28 27120, 2026
Abhishek19[m]
monkey
2026-09-28 27138, 2026
thelounge3724177 has quit
2026-09-28 27103, 2026
SigHunter has quit
2026-09-28 27153, 2026
monkey[m] joined the channel
2026-09-28 27154, 2026
monkey[m]
Hi @abhishekanand19:matrix.org , how did you come to that conclusion? I think without being able to replicate the issue it's hard to know where the problem is coming from, I'm not sure about the key collision.
2026-09-28 27154, 2026
monkey[m]
@mudcrow:matrix.org Are you still seeing the duplcated tracks issue ont he Link Listens page? If so I'll ask you for some extra help so we can try to replicate the bug.
2026-09-28 27149, 2026
monkey[m]
I will say, if it's just AI output with no confirmation, it's not sufficient
2026-09-28 27105, 2026
fzlr has quit
2026-09-28 27126, 2026
fzlr joined the channel
2026-09-28 27121, 2026
mudcrow0[m] joined the channel
2026-09-28 27122, 2026
mudcrow0[m]
It still does exactly the same
2026-09-28 27102, 2026
mudcrow0[m]
I have no idea what this statement means
2026-09-28 27133, 2026
Gopal[m] has quit
2026-09-28 27136, 2026
scathatheworm[m] joined the channel
2026-09-28 27137, 2026
scathatheworm[m]
I'm guessing it means s long as you did more than just ask an AI to ell you what was wrong
2026-09-28 27154, 2026
scathatheworm[m]
s/s/as/, s/ell/tell/
2026-09-28 27101, 2026
chaban[m] has quit
2026-09-28 27114, 2026
mudcrow0[m]
Why the fuck would I ask AI anything?
2026-09-28 27108, 2026
mudcrow0[m]
I get enough stupidity talking to people, I don't need pretend intelligence as well
2026-09-28 27142, 2026
monkey[m]
Sorry for the confusion, the AI comment was for Abhishek19, not for mudcrow.
2026-09-28 27120, 2026
SigHunter joined the channel
2026-09-28 27115, 2026
flugger_ joined the channel
2026-09-28 27120, 2026
flugger has quit
2026-09-28 27127, 2026
flugger_ has quit
2026-09-28 27148, 2026
mib[m]1 has quit
2026-09-28 27114, 2026
thelounge75 has quit
2026-09-28 27134, 2026
thelounge75 joined the channel
2026-09-28 27154, 2026
PastelSkies1047 joined the channel
2026-09-28 27100, 2026
zer0bitz-_ has quit
2026-09-28 27121, 2026
zer0bitz- joined the channel
2026-09-28 27130, 2026
ApeKattQuest joined the channel
2026-09-28 27117, 2026
LupinIII has quit
2026-09-28 27126, 2026
aerozol[m]
I think I was able to reproduce the error, if I remember correctly? Have you tried deleting a bunch of 'link listens' in one go, Monkey?