element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
GNU Affero General Public License v3.0
409 stars 95 forks source link

Rooms don't always appear in room list results in SSS #3365

Open ara4n opened 2 days ago

ara4n commented 2 days ago

Steps to reproduce

  1. Open app
  2. Search for an obscure room
  3. Nothing shows up.
  4. Wait a few minutes
  5. Search again.
  6. Nothing shows up
  7. Wait a few more minutes
  8. Search again
  9. Nothing shows up.

Outcome

What did you expect?

What happened instead?

Rooms were missing from the roomlist and unsure why. This happened on Amandine's account in Berlin; we waited ~10 mins before giving up and switching to legacy to use the room. (I can't remember the room, irritatingly, and it could be that she was killing the app to try to make it sync, before it finished bg-syncing, which might explain why after 10m it still hadn't completed)

Alternatively, perhaps this was an instance of https://github.com/element-hq/synapse/issues/17781 or some other similar SSS bug.

I've tried to reproduce on latest app after a clean start, and it took about 5 minutes to bg-sync older rooms so they'd show up in my room list search results.

Your phone model

No response

Operating system version

No response

Application version

724

Homeserver

No response

Will you send logs?

Yes

ara4n commented 2 days ago

This might also be related to https://github.com/matrix-org/matrix-rust-sdk/issues/4051