matrix-org / matrix-org/matrix-rust-sdk
event cache: delete old events according to the room retention policy
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 500
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 106
Description
Followup from #3280. If a room has a room retention policy, we must abide by it locally, and remove older events.
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 reading the context in issue #3280 and the linked MSC1763 retention-period proposal, then locate the event cache implementation in the matrix-rust-sdk. Determine how each room's retention policy is represented and where cached events are removed. Done means older local events are deleted according to the room's policy, with relevant tests covering retention behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100