matrix-org / matrix-org/matrix-hookshot
Hookshot should crash if homeserver refuses to accept the AS token
Open
Nobody has claimed this yet.
T-Enhancement
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
If for some reason the homeserver is reconfigured without the token used by Hookshot, there should be a crash to alert sysadmins of an issue. Currently it seems Hookshot will happily run but wont be able to talk to a homeserver.
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 file or test is named. Start by tracing Hookshot's startup interaction with the homeserver and how an AS-token refusal is handled; reproduce the behavior with a mismatched token. Done means Hookshot fails visibly when the homeserver refuses the token, with a regression test if the existing test structure covers this path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100