Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Fix concurrency issue with CreateGitHubRepositoryJob #1392

Closed
@BenEmdon

Description

@BenEmdon

Enhancement ✨

CreateGitHubRepositoryJob retries with exponential backoff and if we add a manual retry button to the setupv2.html.erb we could run into a problem where we enqueue 2 of the same jobs.

It would be optimal if we guard on the invitation_status as the jop starts performing to prevent creating a GitHub repo twice.

In response to the post PR tasks in #1385

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions