matrix-org / matrix-org/rust-synapse-compress-state
Meaning of panic messages "Missing {}" in `collapse_state_maps` is unclear
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 173
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Can you please add more debug info to message "Missing {}"? E.g. which room is related.
How to fix this issue? If affected room no longer exists, state events can be removed, right?
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 at the `collapse_state_maps` entry point and trace where the "Missing {}" panic is produced. Inspect how the related room and state events are represented, then determine the expected handling when a room no longer exists. Done means the failure provides enough context to identify the room and the issue's handling question has an explicit, tested outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100