matrix-org / matrix-org/matrix-hookshot

Duplicated connections are possible if the room state contains both a legacy and standard state type.

Open
#595 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

I.e. you can have two connections pointing to the same repo if you have both `uk.half-shot.matrix-github.gitlab.repository` and `uk.half-shot.matrix-hookshot.gitlab.repository` configured.

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

Start at the room-state handling and connection setup for the legacy and standard GitLab repository state types. Reproduce a room containing both state types and trace how connections are created for the same repository. Done means the duplicate configuration no longer creates two connections to one repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.