-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Background
When attempting to add a new token to the IFP channel, I added a new repo with the same org_name and repo_name as a previously existing entry. The capitalization of the org name was different, but that was all (eg InFieldPro/infield_pro vs infieldpro/infield_pro). This caused Slax to stop working in the channel.
Need to prevent adding two repos with the same name, possibly only if they have the same project ID, but this should be tested, as I'm not sure the project ID is being used anymore?
Steps to reproduce:
- Using /token, add or find a repo with an expired or invalid token.
- Using /token, add another new repo with the same org/repo_name with a valid token.
- Slax stops responding to requests for that org/repo_name.
Scenario: receive an error when adding a new repo with the same name
- Given I'm a user adding a repo to Slax using the /token command
- When I enter a new repo with the same org/repo name and a valid token as an existing repo
- Then I receive an error that I have added a duplicate
- And I'm not able to add the duplicate
Reactions are currently unavailable