element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

SSS: Spurious idle rooms keep surfacing in the roomlist

Open ara4n opened this issue 1 year ago • 8 comments

Steps to reproduce

  1. Enable SSS on a largeish account
  2. Giggle happily as it syncs roughly as fast as with SS and the proxy
  3. Observe that some random idle room keeps bubbling up near the top of the room list for no obvious reason (!NNtfYnugaAKouPTJdp:matrix.org aka Element Demo in this instance):

IMG_7854

Outcome

What did you expect?

Element Demo should be buried many many pages down the roomlist as there haven’t been any events there for weeks.

What happened instead?

IMG_7855

Your phone model

No response

Operating system version

No response

Application version

663

Homeserver

No response

Will you send logs?

Yes

ara4n avatar Jul 27 '24 13:07 ara4n

(also, note the timestamp on the conduit room room preview is wonky; looks like the subscribe failed)

ara4n avatar Jul 27 '24 13:07 ara4n

Probably an issue with with the bumpstamp. Likely a backend issue. @erikjohnston can you check the rageshake?

manuroe avatar Aug 05 '24 08:08 manuroe

That room has a bot that sends a m.notice very frequently. Looks like the SDK is desperately trying to paginate back to find a normal message.

My guess is that the rust SDK is not handling that situation particularly well, and TBH I'm not sure what the best way to handle that situation is (i.e. where its broadly impossible to find a bump event).

FTR the room ID is !NNtfYnugaAKouPTJdp:matrix.org. Searching in the rageshake you can clearly see repeated attempts to backpaginate.

erikjohnston avatar Aug 05 '24 09:08 erikjohnston

The SDK doesn't backpaginate a room automatically. It happens only when the timeline is scrolling to the top as far as I know. cc @bnjbvr can you confirm?

(cc https://github.com/matrix-org/matrix-rust-sdk/issues/3647)

Hywan avatar Aug 14 '24 08:08 Hywan

Backpagination doesn't happen automatically at the moment, but as far as I recall, the EX apps may automatically backpaginate after a room has been entered.

bnjbvr avatar Aug 14 '24 08:08 bnjbvr

Huh, I thought I saw the app try and call a lot of /messages, but maybe that was because M had entered the room.

erikjohnston avatar Aug 14 '24 08:08 erikjohnston

empirically if i enter that room, it spins forever and never loads. shouldn't the m.notices be visible? the room doesn't rise to the surface on other clients iirc.

ara4n avatar Aug 24 '24 10:08 ara4n

@ara4n Haven't seen this myself, is is still a problem?

stefanceriu avatar Sep 02 '24 09:09 stefanceriu

Clean up time? This problem seems to have left our dimension to join another Matrix multiverse. Good for us. Closing this issue, feel free to re-open if it happens again :-).

Hywan avatar Jan 08 '25 18:01 Hywan