matrix-org / matrix-org/matrix-rust-sdk
Sometimes, `Timeline` no longer receives updates from the `RoomEventCache`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 500
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 106
Description
For an unknown reason, the `Timeline` sometimes (it's pretty rare) stop receiving updates from the `RoomEventCache`.
That's it. We don't have any other information. I'm not able to reproduce the problem. Ideally, we should add logs around `RoomEventCache` and `Timeline` to spot the problems and try to fix it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the `RoomEventCache` and `Timeline` components and tracing how updates pass between them. Add logging around that update path to capture where notifications stop, then use the collected evidence to identify and fix the failure; done means `Timeline` continues receiving cache updates and the regression is covered by an appropriate test if one can be established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100