Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$60] Review - Issues get stuck in creating phase #280

Closed
jmgasper opened this issue Jan 30, 2020 · 5 comments
Closed

[$60] Review - Issues get stuck in creating phase #280

jmgasper opened this issue Jan 30, 2020 · 5 comments

Comments

@jmgasper
Copy link
Collaborator

Recently, there was a challenge API outage that meant that challenges weren't getting created for new issues for an extended period (>12 hours). We retry a few times to create the challenge, but when the retry limit is exhausted, we still have the issue in the creating phase, which means that it can't be cleared out or tried again. The only solution is to restart the processor to clear out the in-memory cache of issues being created.

Ideally, once a ticket fails to create a challenge, we should remove any temporary status, allowing the user to retry it by closing / reopening a ticket.

@jmgasper
Copy link
Collaborator Author

@afrisalyp - We have fixes in for this, but can you take a look as well just to make sure there weren't any side effects? If we find anything, I'll create a separate ticket, thanks. I'm nervous that the implementation wasn't done real well and the reviewers may not have caught things.

@jmgasper jmgasper changed the title Issues get stuck in creating phase [$60] Review - Issues get stuck in creating phase Mar 25, 2020
@jmgasper
Copy link
Collaborator Author

Contest https://www.topcoder.com/challenges/30120854 has been created for this ticket.

This is an automated message for ghostar via Topcoder X

@jmgasper
Copy link
Collaborator Author

Contest https://www.topcoder.com/challenges/30120854 has been updated - it has been assigned to afrisalyp.

This is an automated message for ghostar via Topcoder X

@afrisalyp
Copy link
Collaborator

@jmgasper

I've tested to simulate the scenario by disabling my network connection during creating a challenge. After the creation process was failed, I activated my network connection again and then I closed and reopened the issue. I found that the processor will retry to create the challenge and it was created successfully.

So I confirm that the process works well so far.

@jmgasper
Copy link
Collaborator Author

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30120854

This is an automated message for ghostar via Topcoder X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants