matrix-org / matrix-org/matrix-hookshot

Issue with creating duplicated webhooks

Open
#1,027 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
450
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
23

Description

1. Create a webhook with name NAME1: `!hookshot webhook NAME1`
2. Create a webhook with name NAME1 again: `!hookshot webhook NAME1`
3. Restart Hookshot.
4. The inbound URL of the webhook becomes the url generated from step 1.

expected result: hookshot webhook inbound URL should stick with the latest one.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the duplicate `!hookshot webhook NAME1` commands, restarting Hookshot, and tracing the webhook persistence and reload path. Verify that after creating the same-named webhook twice, the inbound URL from the latest creation remains in use after restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, 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.