matrix-org / matrix-org/matrix-hookshot
Network failures during startup cause hookshot to miss connections
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
Typical scenario is a homeserver is rebooting or potentially having DB issues, hookshot will start and fail to fetch state for some rooms. As a result, it ends up just skipping these rooms and the connection state is lost. This can be corrected with a restart, but can be invisible until it's a problem.
Related to https://github.com/matrix-org/matrix-hookshot/issues/607
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
No files, tests, or entry points are named. Start by tracing startup state fetching when the homeserver is rebooting or has database issues, and read related issue 607 for context. Done means rooms affected by a transient startup failure do not silently lose their connection state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100