matrix-org / matrix-org/matrix-hookshot

Network failures during startup cause hookshot to miss connections

Open
#1,087 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-Major T-Defect
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.