ContainerSolutions / ContainerSolutions/Jeeves

Jeeves currently fails if a ID is reused

Open
#17 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When a user tries to anonymize a repo multiple times it will fail as the job is already created.

**To Reproduce**
Rerun the anonymize slash command with the same input

**Expected behavior**
We should check if the job already exists and the status of the job, if it has completed we should attach a ID to the end of the job name and rerun it. If it failed we should delete it and rerun it.

**Screenshots**
![image](https://user-images.githubusercontent.com/19777480/102451539-f6545400-4038-11eb-90b6-55e20e97a83b.png)

**Additional context**
We should try and make this intuitive.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the anonymize slash command and trace how it creates, checks, and removes jobs. Reproduce the failure by rerunning the command with the same input, then verify that completed jobs receive a unique ID suffix and failed jobs are deleted before rerun.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.